From 30f6a87039bb9af0c0fbb3b9dc41bf7cb7c2c558 Mon Sep 17 00:00:00 2001 From: Erich Eckner Date: Thu, 1 Jun 2017 15:38:49 +0200 Subject: add clean up --- build-arch-iso | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/build-arch-iso b/build-arch-iso index 7c76b8f..a7eb1e5 100755 --- a/build-arch-iso +++ b/build-arch-iso @@ -7,8 +7,7 @@ if [ "$(whoami)" != "root" ]; then exit $? fi -tmp_dir="$(mktemp -d)" -destination="${tmp_dir}" +destination="$(mktemp -d)" systemctl stop boinc @@ -30,4 +29,6 @@ cp /usr/share/archiso/configs/releng/out/archlinux-*.iso "${destination}/" rsync -v "'"${destination}"'/"archlinux-*.iso /mnt/archlinux32/archisos/testing/ +rm -rf --one-file-system "${destination}" + systemctl start boinc -- cgit v1.2.3-70-g09d2