X-Git-Url: https://git.grml.org/?p=grml-live.git;a=blobdiff_plain;f=etc%2Fgrml%2Ffai%2Fconfig%2Fhooks%2Fupdatebase.GRMLBASE;h=063cae487aeae7a847870612430f5706672813c2;hp=b1c22e09b5ee1fd58562ca9dec9eadfc3fa4a271;hb=51fbcc7c7595303dd703d13d18ccab018ec617bf;hpb=862dda19d8da57572cc4032d0882f32273dee999 diff --git a/etc/grml/fai/config/hooks/updatebase.GRMLBASE b/etc/grml/fai/config/hooks/updatebase.GRMLBASE index b1c22e0..063cae4 100755 --- a/etc/grml/fai/config/hooks/updatebase.GRMLBASE +++ b/etc/grml/fai/config/hooks/updatebase.GRMLBASE @@ -72,5 +72,11 @@ fcopy -i -B -v -r /etc/apt # install Grml gpg key: $ROOTCMD apt-key add /etc/apt/grml.key +if ! $ROOTCMD test -x /usr/bin/aptitude ; then + echo "aptitude binary is not available, installing to make sure further FAI actions continue to work" + $ROOTCMD apt-get update + $ROOTCMD apt-get -y install aptitude +fi + ## END OF FILE ################################################################# # vim:ft=sh expandtab ai tw=80 tabstop=4 shiftwidth=2