X-Git-Url: http://git.grml.org/?a=blobdiff_plain;f=etc%2Fgrml%2Ffai%2Fconfig%2Fhooks%2Finstsoft.GRMLBASE;h=1e5ce06442cdfe47d1b92d60dac57e77ba42e3aa;hb=7fa9c329d85bf44b690aa7457597e3acee0633de;hp=1b97e9ba2d7f17c68002f491ca237248838c51b0;hpb=14e56253bc02d4b362856a282915d03737441963;p=grml-live.git diff --git a/etc/grml/fai/config/hooks/instsoft.GRMLBASE b/etc/grml/fai/config/hooks/instsoft.GRMLBASE index 1b97e9b..1e5ce06 100755 --- a/etc/grml/fai/config/hooks/instsoft.GRMLBASE +++ b/etc/grml/fai/config/hooks/instsoft.GRMLBASE @@ -43,7 +43,7 @@ if [ "$FAI_ACTION" = "softupdate" ] ; then # FAI softupdate does not execute upgrade, so let's do it on our own: $ROOTCMD apt-get update if [ -x $target/usr/bin/aptitude ] ; then - if $target/usr/bin/aptitude --help | grep safe-upgrade ; then + if strings $target/usr/bin/aptitude | grep safe-upgrade 1>/dev/null ; then $ROOTCMD aptitude safe-upgrade else $ROOTCMD aptitude upgrade