Plus besoin de pacman non plus

This commit is contained in:
Hippolyte Chauvin 2023-04-13 00:34:55 +02:00
parent 8b03aa4e56
commit ec7a8e863d

View file

@ -1,11 +0,0 @@
# Gathering orphaned packages list
echo "Gathering orphaned packages list..."
orphaned_packages="$(pacman -Qtdq)"
if [[ ! -z $orphaned_packages ]]; then
echo "$orphaned_packages" | sudo pacman -Rns -
else
echo "No package to be removed."
fi
unset orphaned_packages