X-Git-Url: http://git.grml.org/?p=grml-live.git;a=blobdiff_plain;f=etc%2Fgrml%2Ffai%2Fconfig%2Fscripts%2FGRMLBASE%2F96-apt-listbugs;h=2f72fd3a6d4bfedde50b838ba7500709600fdd8c;hp=a8b4a3813373d5135bb2455076900dbc283eef3e;hb=edb41d03051eb5d125017c8706135cb0ab80d072;hpb=ff079cd77f0e36d5d754b800a75f1e011769e8ec diff --git a/etc/grml/fai/config/scripts/GRMLBASE/96-apt-listbugs b/etc/grml/fai/config/scripts/GRMLBASE/96-apt-listbugs index a8b4a38..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 @@ -34,9 +34,9 @@ if ifclass RELEASE ; then [ -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 @@ -45,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