-#!/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 <mika@grml.org>
# 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
$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
+
## 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