98-clean-chroot: do not zero out install_packages.list
authorMichael Prokop <mika@grml.org>
Sat, 26 Nov 2011 12:33:55 +0000 (13:33 +0100)
committerMichael Prokop <mika@grml.org>
Sat, 26 Nov 2011 12:33:55 +0000 (13:33 +0100)
etc/grml/fai/config/scripts/GRMLBASE/98-clean-chroot

index c053a9e..189b652 100755 (executable)
@@ -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
 }