Ignore errors in uninstallation
This commit is contained in:
parent
98b6723063
commit
ac04f32550
@ -238,10 +238,11 @@ fi
|
||||
|
||||
#uninstalling unused packages
|
||||
echo Uninstalling unused packages
|
||||
#sudo pacman -Rns - <"$setupdir/packages/uninstall.txt"
|
||||
set +e
|
||||
while read package; do
|
||||
sudo pacman -Rns --noconfirm "$package"
|
||||
done <"$setupdir/packages/uninstall.txt"
|
||||
set -e
|
||||
|
||||
echo Uninstalled unused packages
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user