Fix APTINSTALL variable
authorMichael Prokop <mika@grml.org>
Mon, 16 Apr 2007 11:03:41 +0000 (13:03 +0200)
committerMichael Prokop <mika@grml.org>
Mon, 16 Apr 2007 11:03:41 +0000 (13:03 +0200)
chroot-script

index cdb6c0a..40646fa 100644 (file)
@@ -16,10 +16,10 @@ set -e # exit on any error
 
 # use aptitude only if it's available
 if [ -x /usr/bin/aptitude ] ; then
 
 # use aptitude only if it's available
 if [ -x /usr/bin/aptitude ] ; then
-   APTINSTALL='aptitude -y'
+   APTINSTALL='aptitude -y install '
    APTUPDATE='aptitude update'
 else
    APTUPDATE='aptitude update'
 else
-   APTINSTALL='apt-get --force-yes -y'
+   APTINSTALL='apt-get --force-yes -y install'
    APTUPDATE='apt-get update'
 fi
 
    APTUPDATE='apt-get update'
 fi