Remove /var/log/install_packages.list on release. File is emtpy then anyway.
[grml-live.git] / grml-live
index 2a05d05..780bf3c 100755 (executable)
--- a/grml-live
+++ b/grml-live
@@ -20,7 +20,8 @@ else
 fi
 
 # exit on any error:
-set -e
+# disable for now since it seems to cause some problems
+# set -e
 
 # global variables
 GRML_LIVE_VERSION='0.14.1'
@@ -557,6 +558,7 @@ else
       # Remove all FAI logs from chroot if class RELEASE is used:
       if [ -f "$CHROOT_OUTPUT"/etc/grml_fai_release ] ; then
          rm -rf "$CHROOT_OUTPUT"/var/log/fai/*
+         rm -f "$CHROOT_OUTPUT"/var/log/install_packages.list
       fi
 
       umount_all