X-Git-Url: http://git.grml.org/?a=blobdiff_plain;f=etc%2Fgrml%2Ffai%2Fconfig%2Fscripts%2FDEBORPHAN%2F10-whitelist;fp=etc%2Fgrml%2Ffai%2Fconfig%2Fscripts%2FDEBORPHAN%2F10-whitelist;h=aa52ab0a97334499078512443f94cececd1896c1;hb=f37fcf9de4b88fe70a10fbedf9c2b649e8151c27;hp=0000000000000000000000000000000000000000;hpb=3140b8361043c6d06788b74d1a5d0c0d202389cc;p=grml-live.git diff --git a/etc/grml/fai/config/scripts/DEBORPHAN/10-whitelist b/etc/grml/fai/config/scripts/DEBORPHAN/10-whitelist new file mode 100755 index 0000000..aa52ab0 --- /dev/null +++ b/etc/grml/fai/config/scripts/DEBORPHAN/10-whitelist @@ -0,0 +1,19 @@ +#!/bin/bash +# Filename: ${GRML_FAI_CONFIG}/config/scripts/DEBORPHAN/10-whitelist +# Purpose: whitelist packages to keep with deborphan +# 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. +################################################################################ + +set -u +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 + $ROOTCMD deborphan --add-keep dnsutils || /bin/true +fi + +## END OF FILE ################################################################# +# vim:ft=sh expandtab ai tw=80 tabstop=4 shiftwidth=2