From 3b35c6e759a1e6b138e2171af14c45f7ce996fff Mon Sep 17 00:00:00 2001 From: Simo Leone Date: Tue, 9 Oct 2007 02:14:12 -0500 Subject: Don't nuke /tmp on the pristine image Just nuke /tmp/* instead. Signed-off-by: Simo Leone --- mkarchiso | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mkarchiso b/mkarchiso index 649da90..95dfdaf 100755 --- a/mkarchiso +++ b/mkarchiso @@ -155,7 +155,7 @@ if [ "${command_name}" = "install" -o "${command_name}" = "all" ]; then echo "Cleaning up ISO root files..." find "${instroot}" -name *.pacnew -name *.pacsave -name *.pacorig -delete - kill_dirs="var/abs var/cache/man var/cache/pacman var/log/* var/mail tmp usr/include initrd" + kill_dirs="var/abs var/cache/man var/cache/pacman var/log/* var/mail tmp/* usr/include initrd" for x in ${kill_dirs}; do if [ -e "${instroot}/${x}" ]; then rm -rf "${instroot}/${x}" -- cgit v1.2.2