X-Git-Url: https://git.grml.org/?p=grml-live.git;a=blobdiff_plain;f=etc%2Fgrml%2Ffai%2Fconfig%2Fscripts%2FGRMLBASE%2F40-deborphan;h=814d5d84bbf796154c3f982c38a2ca9635bce5cf;hp=5a1a8d5c0dcde5270784bed98bd806462a149a41;hb=8120950a643b31218cdb7f69873ccb560913d705;hpb=0afe62bf10b67e45e05c53966f02da0042bafb9a diff --git a/etc/grml/fai/config/scripts/GRMLBASE/40-deborphan b/etc/grml/fai/config/scripts/GRMLBASE/40-deborphan index 5a1a8d5..814d5d8 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,17 @@ 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 + +if [ -r "$target"/usr/bin/kvm -a -x "$target"/usr/bin/deborphan ] ; then + $ROOTCMD deborphan --add-keep qemu-kvm || /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