From: Michael Prokop Date: Mon, 5 Nov 2007 09:32:39 +0000 (+0100) Subject: Use -y for upgrade in instsoft.GRMLBASE X-Git-Tag: 0.0.8~5 X-Git-Url: https://git.grml.org/?p=grml-live.git;a=commitdiff_plain;h=b234fe9a308985a68371a8151f269d57593d91eb Use -y for upgrade in instsoft.GRMLBASE --- diff --git a/etc/grml/fai/config/hooks/instsoft.GRMLBASE b/etc/grml/fai/config/hooks/instsoft.GRMLBASE index 1e5ce06..2a00b39 100755 --- a/etc/grml/fai/config/hooks/instsoft.GRMLBASE +++ b/etc/grml/fai/config/hooks/instsoft.GRMLBASE @@ -44,12 +44,12 @@ if [ "$FAI_ACTION" = "softupdate" ] ; then $ROOTCMD apt-get update if [ -x $target/usr/bin/aptitude ] ; then if strings $target/usr/bin/aptitude | grep safe-upgrade 1>/dev/null ; then - $ROOTCMD aptitude safe-upgrade + $ROOTCMD aptitude -y safe-upgrade else - $ROOTCMD aptitude upgrade + $ROOTCMD aptitude -y upgrade fi else - $ROOTCMD apt-get upgrade + $ROOTCMD apt-get -y upgrade fi else # no softupdate but fresh installation