Send patches - preferably formatted by git format-patch - to patches at archlinux32 dot org.
summaryrefslogtreecommitdiff
path: root/provision/cleanup.sh
diff options
context:
space:
mode:
Diffstat (limited to 'provision/cleanup.sh')
-rw-r--r--[-rwxr-xr-x]provision/cleanup.sh7
1 files changed, 1 insertions, 6 deletions
diff --git a/provision/cleanup.sh b/provision/cleanup.sh
index 29da429..d8fbc3c 100755..100644
--- a/provision/cleanup.sh
+++ b/provision/cleanup.sh
@@ -3,10 +3,5 @@
set -e
set -x
+# clear package cache
yes | sudo pacman -Scc
-
-# Write zeros to improve virtual disk compaction.
-zerofile=$(/usr/bin/mktemp /zerofile.XXXXX)
-dd if=/dev/zero of="$zerofile" bs=1M || true
-rm -f "$zerofile"
-sync