[Fai-commit] r4794 - trunk/lib
lange at alioth.debian.org
lange at alioth.debian.org
Sat Nov 24 15:03:45 UTC 2007
Author: lange
Date: 2007-11-24 15:03:45 +0000 (Sat, 24 Nov 2007)
New Revision: 4794
Modified:
trunk/lib/updatebase
Log:
fix wrong logic in updatebase (closes: #452516)
Modified: trunk/lib/updatebase
===================================================================
--- trunk/lib/updatebase 2007-11-23 14:12:35 UTC (rev 4793)
+++ trunk/lib/updatebase 2007-11-24 15:03:45 UTC (rev 4794)
@@ -33,9 +33,9 @@
export aptopt=
# this may be removed in lenny
if $ROOTCMD aptitude --help | grep -q safe-upgrade; then
+ $ROOTCMD aptitude -y safe-upgrade
+else
$ROOTCMD aptitude -y upgrade
-else
- $ROOTCMD aptitude -y safe-upgrade
fi
$ROOTCMD aptitude $aptopt -f -y dist-upgrade </dev/null
More information about the Fai-commit
mailing list