Plus besoin de pacman non plus
This commit is contained in:
parent
8b03aa4e56
commit
ec7a8e863d
1 changed files with 0 additions and 11 deletions
|
@ -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
|
Loading…
Reference in a new issue