X-Git-Url: http://git.grml.org/?a=blobdiff_plain;f=etc%2Fgrml%2Ffai%2Fconfig%2Fscripts%2FGRMLBASE%2F96-apt-listbugs;h=5143318ba4f40a05e4cc472480db78c059cf9249;hb=35b57c1a91b745240d90149376d51a50412c3069;hp=a9bedc4d336e99773dd83f0726e343ceb00d570b;hpb=2634b90f046fa456014a49316c860b2881031fde;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 a9bedc4..5143318 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: Sun Oct 14 21:08:16 CEST 2007 [mika] +# Latest change: Sun Nov 04 11:08:40 CET 2007 [mika] ################################################################################ set -e @@ -15,6 +15,14 @@ if ifclass RELEASE ; then [ -r /etc/grml/grml-live.conf ] && . /etc/grml/grml-live.conf [ -n "$HOSTNAME" ] || HOSTNAME=grml + if [ -r /etc/resolv.conf ] ; then + if [ -r $target/etc/resolvconf/run/resolv.conf ] ; then + cat /etc/resolv.conf >> $target/etc/resolvconf/run/resolv.conf + else + cat /etc/resolv.conf >> $target/etc/resolv.conf + fi + fi + 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