Don't nuke /tmp on the pristine image
Just nuke /tmp/* instead. Signed-off-by: Simo Leone <simo@archlinux.org>
This commit is contained in:
parent
8dea2b65fc
commit
3b35c6e759
@ -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}"
|
||||
|
Loading…
Reference in New Issue
Block a user