deborphan: drop deprecated packages
[grml-live.git] / etc / grml / fai / config / scripts / GRMLBASE / 40-deborphan
1 #!/bin/bash
2 # Filename:      ${GRML_FAI_CONFIG}/config/scripts/GRMLBASE/40-deborphan
3 # Purpose:       configure packages for deborphan (usually exception rules)
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, drop as soon as bind9-dnsutils
13 # is available in all supported 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