From f00a3026f43a9dee33bbb6de3080cc36e5c4a759 Mon Sep 17 00:00:00 2001 From: Aaron Bull Schaefer Date: Thu, 11 Feb 2016 09:08:28 -0800 Subject: [PATCH] Optimize the pacman database before zeroing the drive --- scripts/cleanup.sh | 1 + 1 file changed, 1 insertion(+) diff --git a/scripts/cleanup.sh b/scripts/cleanup.sh index 0ef52b1..0646e67 100755 --- a/scripts/cleanup.sh +++ b/scripts/cleanup.sh @@ -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)