From: Michael Prokop Date: Wed, 5 Jun 2013 18:36:40 +0000 (+0200) Subject: Revert "Avoid file-rc being considered for removal by deborphan" X-Git-Tag: v0.21.0~4 X-Git-Url: https://git.grml.org/?p=grml-live.git;a=commitdiff_plain;h=3d3713c18f91a6268eccd87081806b9cb9f80752;hp=f565065789c9c28146a9acd2efe5a5a1d2b0d2fb Revert "Avoid file-rc being considered for removal by deborphan" This reverts commit f565065789c9c28146a9acd2efe5a5a1d2b0d2fb. Looks like it's not deborphan which removes file-rc but file-rc gets removed earlier and is just purged through the DEBORPHAN/98-clean-chroot script. --- diff --git a/etc/grml/fai/config/scripts/DEBORPHAN/98-clean-chroot b/etc/grml/fai/config/scripts/DEBORPHAN/98-clean-chroot index 68136ea..8c08357 100755 --- a/etc/grml/fai/config/scripts/DEBORPHAN/98-clean-chroot +++ b/etc/grml/fai/config/scripts/DEBORPHAN/98-clean-chroot @@ -14,12 +14,6 @@ if ! [ -x $target/usr/bin/deborphan ] ; then exit 0 fi -# avoid file-rc being considered for removal by deborphan -if [ -d $target/usr/share/file-rc -a -x $target/usr/bin/deborphan ] ; then - echo "Adding file-rc to keep-list of deborphan to avoid accidental removal" - $ROOTCMD deborphan --add-keep file-rc || /bin/true -fi - # remove all packages not necessary anymore: $ROOTCMD apt-get -y --purge autoremove