Don't call pacman-optimize in cleanup.sh

The pacman-optimize script has been removed from pacman.

https://git.archlinux.org/pacman.git/commit/?id=d590a45795b30a14cdb697754749c85907053570

This was causing the installer to complain "/usr/bin/pacman-optimize:
No such file or directory".
This commit is contained in:
Mike Appleby 2018-10-30 16:28:00 -06:00
parent 72922ed830
commit 2a522c91c4

View file

@ -2,7 +2,6 @@
# 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)