From: Michael Prokop Date: Sat, 26 Nov 2011 12:33:55 +0000 (+0100) Subject: 98-clean-chroot: do not zero out install_packages.list X-Git-Tag: v0.17.0~50 X-Git-Url: http://git.grml.org/?p=grml-live.git;a=commitdiff_plain;h=55405b93f1cf752270827b0963a2b0e5214f7523;hp=da6352e9a6ada451940fb24635a302cffebc5394 98-clean-chroot: do not zero out install_packages.list --- diff --git a/etc/grml/fai/config/scripts/GRMLBASE/98-clean-chroot b/etc/grml/fai/config/scripts/GRMLBASE/98-clean-chroot index c053a9e..189b652 100755 --- a/etc/grml/fai/config/scripts/GRMLBASE/98-clean-chroot +++ b/etc/grml/fai/config/scripts/GRMLBASE/98-clean-chroot @@ -108,7 +108,7 @@ nuke(){ # set all files in the given directories to a length of zero zero(){ - for i in $(find "$@" -type f -size +0 -not -name \*.ini -not -path '*/fai/*' 2>/dev/null); do + for i in $(find "$@" -type f -size +0 -not -name \*.ini -not -path '*/fai/*' -not -name install_packages.list 2>/dev/null); do :> "$i" done }