X-Git-Url: https://git.grml.org/?p=grml-live.git;a=blobdiff_plain;f=etc%2Fgrml%2Ffai%2Fconfig%2Fhooks%2Fupdatebase.GRMLBASE;fp=etc%2Fgrml%2Ffai%2Fconfig%2Fhooks%2Fupdatebase.GRMLBASE;h=d19c4e28ae74ccece0d6864abc9ec650fdaf5997;hp=b1c22e09b5ee1fd58562ca9dec9eadfc3fa4a271;hb=09c49937040b8c4d3dfa18683ef277e481a21b1c;hpb=038aa8ee761d650f999fcf486fe7d95e5a27d47a diff --git a/etc/grml/fai/config/hooks/updatebase.GRMLBASE b/etc/grml/fai/config/hooks/updatebase.GRMLBASE index b1c22e0..d19c4e2 100755 --- a/etc/grml/fai/config/hooks/updatebase.GRMLBASE +++ b/etc/grml/fai/config/hooks/updatebase.GRMLBASE @@ -72,5 +72,10 @@ 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 -y install aptitude +fi + ## END OF FILE ################################################################# # vim:ft=sh expandtab ai tw=80 tabstop=4 shiftwidth=2