From: Michael Prokop Date: Wed, 20 May 2020 12:59:32 +0000 (+0200) Subject: DEBORPHAN/10-whitelist: highlight when dnsutils gets added to whitelist X-Git-Tag: v0.35.1~3 X-Git-Url: https://git.grml.org/?p=grml-live.git;a=commitdiff_plain;h=87be754bbc69222433296d24abd408db0f208f91 DEBORPHAN/10-whitelist: highlight when dnsutils gets added to whitelist Otherwise it's hard to see whether anything was executed at all --- diff --git a/etc/grml/fai/config/scripts/DEBORPHAN/10-whitelist b/etc/grml/fai/config/scripts/DEBORPHAN/10-whitelist index aa52ab0..3fe7320 100755 --- a/etc/grml/fai/config/scripts/DEBORPHAN/10-whitelist +++ b/etc/grml/fai/config/scripts/DEBORPHAN/10-whitelist @@ -12,6 +12,7 @@ set -e # workaround for dnsutils transitional package, we can drop this as soon as the # bind9-dnsutils package is available in all our supported Debian releases if [[ -r "${target}/usr/share/doc/dnsutils" ]] && [ -x "${target}/usr/bin/deborphan" ] ; then + echo "Adding dnsutils to deborphan whitelist" $ROOTCMD deborphan --add-keep dnsutils || /bin/true fi