X-Git-Url: https://git.grml.org/?p=grml-live.git;a=blobdiff_plain;f=etc%2Fgrml%2Ffai%2Fconfig%2Fscripts%2FGRMLBASE%2F96-apt-listbugs;h=d0baa3f3d01b05298eeccb9a073a6c1548ce714e;hp=8a4bc3f5d7726eb9b516cf45a9c6655dd689bf7a;hb=184eabc67a016efb8b42364b1dab400ef72a00e0;hpb=9dafaad2fe959f195d68a38655f60d00ee028256 diff --git a/etc/grml/fai/config/scripts/GRMLBASE/96-apt-listbugs b/etc/grml/fai/config/scripts/GRMLBASE/96-apt-listbugs index 8a4bc3f..d0baa3f 100755 --- a/etc/grml/fai/config/scripts/GRMLBASE/96-apt-listbugs +++ b/etc/grml/fai/config/scripts/GRMLBASE/96-apt-listbugs @@ -18,16 +18,11 @@ fi set +u if ifclass RELEASE ; then set -u - HOSTNAME='' - [ -r /etc/grml/grml-live.conf ] && . /etc/grml/grml-live.conf - [ -n "$GRML_LIVE_LOCAL_CONFIG" ] && . "$GRML_LIVE_LOCAL_CONFIG" - [ -n "$HOSTNAME" ] || HOSTNAME=grml - if [ -x $target/usr/sbin/apt-listbugs -a -x $target/usr/bin/apt-show-source ] && \ [ -x $target/etc/apt/grml/listbugs ] ; then for severity in critical grave serious ; do SEVERITY=$severity $ROOTCMD /etc/apt/grml/listbugs > \ - /var/log/fai/$HOSTNAME/last/bugs.${severity} || true # make sure it does not fail + $LOGDIR/bugs.${severity} || true # make sure it does not fail done fi