A minor patch: -export aptopt= -> +export -n aptopt

shaulka at 012.net.il shaulka at 012.net.il
Mon May 22 01:16:18 CEST 2006


  That is against 2.10. I haven't tested it.

--- /usr/lib/fai/updatebase     2006-04-03 16:12:38.000000000 +0300
+++ updatebase  2006-05-22 01:58:09.000000000 +0300
@@ -24,7 +24,7 @@
 $ROOTCMD dpkg -C
 [ $? -ne 0 ] && yes '' | $ROOTCMD dpkg --configure -a
 # using the above value, causes an error: "dpkg need action"
-export aptopt=
+export -n aptopt
 $ROOTCMD apt-get $aptopt -f -y dist-upgrade </dev/null
 # update dpkg info which packages are available
 tmp=$($ROOTCMD mktemp)




More information about the linux-fai-devel mailing list