DEBORPHAN/10-whitelist: highlight when dnsutils gets added to whitelist
authorMichael Prokop <mika@grml.org>
Wed, 20 May 2020 12:59:32 +0000 (14:59 +0200)
committerMichael Prokop <mika@grml.org>
Wed, 20 May 2020 12:59:32 +0000 (14:59 +0200)
Otherwise it's hard to see whether anything was executed at all

etc/grml/fai/config/scripts/DEBORPHAN/10-whitelist

index aa52ab0..3fe7320 100755 (executable)
@@ -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