Ignore errors in uninstallation

This commit is contained in:
exu 2023-11-17 16:49:52 +01:00
parent 98b6723063
commit ac04f32550

View File

@ -238,10 +238,11 @@ fi
#uninstalling unused packages #uninstalling unused packages
echo Uninstalling unused packages echo Uninstalling unused packages
#sudo pacman -Rns - <"$setupdir/packages/uninstall.txt" set +e
while read package; do while read package; do
sudo pacman -Rns --noconfirm "$package" sudo pacman -Rns --noconfirm "$package"
done <"$setupdir/packages/uninstall.txt" done <"$setupdir/packages/uninstall.txt"
set -e
echo Uninstalled unused packages echo Uninstalled unused packages