X-Git-Url: https://git.grml.org/?p=grml-live.git;a=blobdiff_plain;f=etc%2Fgrml%2Ffai%2Fconfig%2Fscripts%2FGRMLBASE%2F40-deborphan;h=b95eaa4a8959eceac894eea4d1fd0df6af23989d;hp=5a1a8d5c0dcde5270784bed98bd806462a149a41;hb=ba4572516c2b4f6dcbfdf6600450268c2426497b;hpb=0afe62bf10b67e45e05c53966f02da0042bafb9a diff --git a/etc/grml/fai/config/scripts/GRMLBASE/40-deborphan b/etc/grml/fai/config/scripts/GRMLBASE/40-deborphan index 5a1a8d5..b95eaa4 100755 --- a/etc/grml/fai/config/scripts/GRMLBASE/40-deborphan +++ b/etc/grml/fai/config/scripts/GRMLBASE/40-deborphan @@ -1,10 +1,9 @@ -#!/bin/sh -# Filename: /etc/grml/fai/config/scripts/GRMLBASE/40-deborphan -# Purpose: set up /etc/network/interfaces of live-system +#!/bin/bash +# Filename: ${GRML_FAI_CONFIG}/config/scripts/GRMLBASE/40-deborphan +# Purpose: configure packages for deborphan (usually exception rules) # 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. -# Latest change: Sun Dec 16 21:54:29 CET 2007 [mika] ################################################################################ set -u @@ -18,5 +17,19 @@ if [ -r $target/usr/bin/bsdtar -a -x $target/usr/bin/deborphan ] ; then $ROOTCMD deborphan --add-keep bsdtar || /bin/true fi +if [ -r $target/usr/bin/ewfinfo -a -x $target/usr/bin/deborphan ] ; then + $ROOTCMD deborphan --add-keep libewf1 || /bin/true +fi + +if [ -r $target/usr/lib/libstdc++-libc6.2-2.so.3 -a -x $target/usr/bin/deborphan ] ; then + $ROOTCMD deborphan --add-keep libstdc++2.10-glibc2.2 || /bin/true +fi + +# workaround for dnsutils transitional package, drop as soon as bind9-dnsutils +# is available in all supported 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=3 +# vim:ft=sh expandtab ai tw=80 tabstop=4 shiftwidth=2