X-Git-Url: http://git.grml.org/?a=blobdiff_plain;f=etc%2Fgrml%2Ffai%2Fconfig%2Fhooks%2Finstsoft.GRMLBASE;h=715888caf78725de48ebe8d10c76000ad36e6d21;hb=f1f52ba9ab0ba374405ab6a4ec7c586202f208e6;hp=b5ac2370b09816ad6249f12590c6501bcc2debbb;hpb=ad33a379d8f97a32a3bd6eb59d5ea6d56125b087;p=grml-live-grml.git diff --git a/etc/grml/fai/config/hooks/instsoft.GRMLBASE b/etc/grml/fai/config/hooks/instsoft.GRMLBASE index b5ac237..715888c 100755 --- a/etc/grml/fai/config/hooks/instsoft.GRMLBASE +++ b/etc/grml/fai/config/hooks/instsoft.GRMLBASE @@ -69,6 +69,10 @@ EOF # run it on our own, as updatebase is used at the wrong stage for our needs, # see /etc/grml/fai/config/hooks/updatebase.GRMLBASE $ROOTCMD apt-get update + if ! [ -x $target/usr/bin/aptitude ] ; then + $ROOTCMD apt-get -y install aptitude + fi + if [ -x $target/usr/bin/aptitude ] ; then if $ROOTCMD aptitude --help | grep -q safe-upgrade ; then $ROOTCMD aptitude -y safe-upgrade