summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSimo Leone <simo@archlinux.org>2007-10-09 02:14:12 -0500
committerDan McGee <dpmcgee@gmail.com>2007-10-09 20:59:26 -0500
commit3b35c6e759a1e6b138e2171af14c45f7ce996fff (patch)
treee02e2ecd27502cf0559fb664bc9136eb7f90f4e1
parent8dea2b65fc1b027f27b2855e10c03ce5699ea9fe (diff)
downloadarchiso32-3b35c6e759a1e6b138e2171af14c45f7ce996fff.tar.xz
Don't nuke /tmp on the pristine image
Just nuke /tmp/* instead. Signed-off-by: Simo Leone <simo@archlinux.org>
-rwxr-xr-xmkarchiso2
1 files changed, 1 insertions, 1 deletions
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}"