[Fai-commit] r4781 - trunk/lib
lange at alioth.debian.org
lange at alioth.debian.org
Wed Nov 21 18:04:58 UTC 2007
Author: lange
Date: 2007-11-21 18:04:57 +0000 (Wed, 21 Nov 2007)
New Revision: 4781
Modified:
trunk/lib/updatebase
Log:
call aptitude --help inside chroot
Modified: trunk/lib/updatebase
===================================================================
--- trunk/lib/updatebase 2007-11-21 17:56:09 UTC (rev 4780)
+++ trunk/lib/updatebase 2007-11-21 18:04:57 UTC (rev 4781)
@@ -32,7 +32,7 @@
# using the above value, causes an error: "dpkg need action"
export aptopt=
# this may be removed in lenny
-if $FAI_ROOT/usr/bin/aptitude --help | grep -q safe-upgrade; then
+if $ROOTCMD aptitude --help | grep -q safe-upgrade; then
$ROOTCMD aptitude -y upgrade
else
$ROOTCMD aptitude -y safe-upgrade
More information about the Fai-commit
mailing list