[Debconf-video-commits] r279 - fai-config/doc/src

holger at alioth.debian.org holger at alioth.debian.org
Thu Feb 5 12:37:40 UTC 2009


Author: holger
Date: 2009-02-05 12:37:40 +0000 (Thu, 05 Feb 2009)
New Revision: 279

Modified:
   fai-config/doc/src/final_setup.sh
Log:
hardcode mirror

Modified: fai-config/doc/src/final_setup.sh
===================================================================
--- fai-config/doc/src/final_setup.sh	2009-02-05 11:58:24 UTC (rev 278)
+++ fai-config/doc/src/final_setup.sh	2009-02-05 12:37:40 UTC (rev 279)
@@ -11,14 +11,18 @@
 # distribution we are using
 DISTRO=etch
 
-# either use local mirror or ftp.de.debian.org
-apt-get install file
-TMPFILE=`mktemp -p /tmp`
-if $( wget -q http://mirror/debian/dists/$DISTRO/Release.gpg -O $TMPFILE && file $TMPFILE | grep PGP > /dev/null ) ; then MIRROR=mirror 
-elif $(wget -q http://ftp.de.debian.org/debian/dists/$DISTRO/Release.gpg -O $TMPFILE && file $TMPFILE | grep PGP > /dev/null ) ; then MIRROR=ftp.de.debian.org 
-else echo cannot reach a mirror, aborting && exit 1 ; fi
-rm $TMPFILE 
+# hardcode mirror to use
+MIRROR=ftp.de.debian.org 
+#
+## either use local mirror or ftp.de.debian.org
+#apt-get install file
+#TMPFILE=`mktemp -p /tmp`
+#if $( wget -q http://mirror/debian/dists/$DISTRO/Release.gpg -O $TMPFILE && file $TMPFILE | grep PGP > /dev/null ) ; then MIRROR=mirror 
+#elif $(wget -q http://ftp.de.debian.org/debian/dists/$DISTRO/Release.gpg -O $TMPFILE && file $TMPFILE | grep PGP > /dev/null ) ; then MIRROR=ftp.de.debian.org 
+#else echo cannot reach a mirror, aborting && exit 1 ; fi
+#rm $TMPFILE 
 
+
 # which arch are we running on? (needed for sources.list)
 ARCH=`dpkg --print-installation-architecture`
 




More information about the Debconf-video-commits mailing list