X-Git-Url: https://git.grml.org/?a=blobdiff_plain;f=etc%2Fgrml%2Ffai%2Fconfig%2Fscripts%2FGRMLBASE%2F96-apt-listbugs;h=2f72fd3a6d4bfedde50b838ba7500709600fdd8c;hb=b68164e384f6c7d682212995fc96ab919a2677f0;hp=a6ed5a9a48a5be5918be1160d515c4caaef37baa;hpb=9a076aa95e69054b46ba985b4c1be67b2cd1a10b;p=grml-live.git diff --git a/etc/grml/fai/config/scripts/GRMLBASE/96-apt-listbugs b/etc/grml/fai/config/scripts/GRMLBASE/96-apt-listbugs index a6ed5a9..2f72fd3 100755 --- a/etc/grml/fai/config/scripts/GRMLBASE/96-apt-listbugs +++ b/etc/grml/fai/config/scripts/GRMLBASE/96-apt-listbugs @@ -4,7 +4,7 @@ # Authors: grml-team (grml.org), (c) Michael Prokop # Bug-Reports: see http://grml.org/bugs/ # License: This file is licensed under the GPL v2 or any later version. -# Latest change: Mon Nov 19 12:49:27 CET 2007 [mika] +# Latest change: Sun Dec 16 17:18:14 CET 2007 [mika] ################################################################################ set -e @@ -29,13 +29,14 @@ fi if ifclass RELEASE ; then HOSTNAME='' - [ -r /etc/grml/grml-live.conf ] && . /etc/grml/grml-live.conf + [ -r /etc/grml/grml-live.conf ] && . /etc/grml/grml-live.conf + [ -r /etc/grml/grml-live.local ] && . /etc/grml/grml-live.local [ -n "$HOSTNAME" ] || HOSTNAME=grml if [ -r /etc/resolv.conf ] ; then - if [ -r $target/etc/resolvconf/run/resolv.conf ] ; then + if [ -d $target/etc/resolvconf/run ] ; then cat /etc/resolv.conf >> $target/etc/resolvconf/run/resolv.conf - else + elif [ ! -L $target/etc/resolv.conf ] ; then cat /etc/resolv.conf >> $target/etc/resolv.conf fi fi @@ -44,7 +45,7 @@ if ifclass RELEASE ; then [ -x $target/etc/apt/grml/listbugs ] ; then for severity in critical grave serious ; do SEVERITY=$severity $ROOTCMD /etc/apt/grml/listbugs > \ - /var/log/fai/dirinstall/$HOSTNAME/bugs.${severity} || true # make sure it does not fail + /var/log/fai/$HOSTNAME/last/bugs.${severity} || true # make sure it does not fail done fi