Optimize the pacman database before zeroing the drive

This commit is contained in:
Aaron Bull Schaefer 2016-02-11 09:08:28 -08:00
parent 6c589e733a
commit f00a3026f4

View file

@ -2,6 +2,7 @@
# Clean the pacman cache.
/usr/bin/yes | /usr/bin/pacman -Scc
/usr/bin/pacman-optimize
# Write zeros to improve virtual disk compaction.
zerofile=$(/usr/bin/mktemp /zerofile.XXXXX)