aa52ab0a97334499078512443f94cececd1896c1
[grml-live.git] / etc / grml / fai / config / scripts / DEBORPHAN / 10-whitelist
1 #!/bin/bash
2 # Filename:      ${GRML_FAI_CONFIG}/config/scripts/DEBORPHAN/10-whitelist
3 # Purpose:       whitelist packages to keep with deborphan
4 # Authors:       grml-team (grml.org), (c) Michael Prokop <mika@grml.org>
5 # Bug-Reports:   see http://grml.org/bugs/
6 # License:       This file is licensed under the GPL v2 or any later version.
7 ################################################################################
8
9 set -u
10 set -e
11
12 # workaround for dnsutils transitional package, we can drop this as soon as the
13 # bind9-dnsutils package is available in all our supported Debian releases
14 if [[ -r "${target}/usr/share/doc/dnsutils" ]] && [ -x "${target}/usr/bin/deborphan" ] ; then
15   $ROOTCMD deborphan --add-keep dnsutils || /bin/true
16 fi
17
18 ## END OF FILE #################################################################
19 # vim:ft=sh expandtab ai tw=80 tabstop=4 shiftwidth=2