X-Git-Url: https://git.grml.org/?p=grml-live.git;a=blobdiff_plain;f=etc%2Fgrml%2Ffai%2Fconfig%2Fscripts%2FGRMLBASE%2F96-apt-listbugs;fp=etc%2Fgrml%2Ffai%2Fconfig%2Fscripts%2FGRMLBASE%2F96-apt-listbugs;h=a6ed5a9a48a5be5918be1160d515c4caaef37baa;hp=4650cad290ac49d137e1a45264118907725e4997;hb=9a076aa95e69054b46ba985b4c1be67b2cd1a10b;hpb=8f8fae2cca04b12d1158062bec377a0f8b9c6673 diff --git a/etc/grml/fai/config/scripts/GRMLBASE/96-apt-listbugs b/etc/grml/fai/config/scripts/GRMLBASE/96-apt-listbugs index 4650cad..a6ed5a9 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 Nov 04 22:40:43 CET 2007 [mika] +# Latest change: Mon Nov 19 12:49:27 CET 2007 [mika] ################################################################################ set -e @@ -21,7 +21,9 @@ if [ -x $target/usr/bin/apt-listchanges ] ; then fi if [ -r $target/etc/apt/apt.conf.d/10apt-listbugs ] ; then - sed -i 's#//DPkg::#DPkg::#' $target/etc/apt/apt.conf.d/10apt-listbugs + if [ -x $target/usr/sbin/apt-listbugs ] ; then + sed -i 's#//DPkg::#DPkg::#' $target/etc/apt/apt.conf.d/10apt-listbugs + fi fi if ifclass RELEASE ; then