Fix pacman clear cache

This commit is contained in:
Dennis ten Hoove 2023-10-24 13:50:33 +00:00
parent 55e4b9f2ac
commit 95ed8d1f32

View file

@ -139,7 +139,7 @@ if [[ $type == 'archlinux' ]]; then
# Clear pacman cache
printf "\e[1;34m-->\e[0m\e[1m Clearing pacman cache\e[0m\n"
arch-chroot $workdir pacman --noconfirm -Scc
arch-chroot $workdir pacman -Scc <<< Y <<< Y
# Remove subvolumes created by systemd
[[ -d $workdir/var/lib/portables ]] &&