X-Git-Url: https://git.grml.org/?p=grml-live.git;a=blobdiff_plain;f=etc%2Fgrml%2Ffai%2Fconfig%2Fscripts%2FGRMLBASE%2F98-clean-chroot;h=b95c7929ee8c55bf8b817562047080affab2c692;hp=23836227aa47c4c6bd022a18e9a9ee0a3264c4c8;hb=9d3ce6903c49cb40d37e2f10587e5d6d2dcc774d;hpb=bcffb5f41ff06a54a4810fde4ed8713a1db724d0 diff --git a/etc/grml/fai/config/scripts/GRMLBASE/98-clean-chroot b/etc/grml/fai/config/scripts/GRMLBASE/98-clean-chroot index 2383622..b95c792 100755 --- a/etc/grml/fai/config/scripts/GRMLBASE/98-clean-chroot +++ b/etc/grml/fai/config/scripts/GRMLBASE/98-clean-chroot @@ -4,7 +4,7 @@ # 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: Mon Jän 07 11:33:41 CET 2008 [mika] +# Latest change: Die Jän 08 09:11:17 CET 2008 [mika] ################################################################################ set -e @@ -34,7 +34,9 @@ fi # make sure to drop from grml-small what's unnecessary: if ifclass GRML_SMALL ; then - $ROOTCMD dpkg --purge groff-base info locales man-db manpages nano + for pkg in groff-base info locales man-db manpages nano; do + $ROOTCMD dpkg --purge $pkg || true + done fi # remove /usr/share/doc, /usr/share/info,... only in class REMOVE_DOCS: