Hotfix: Prevent error when no orphans exist

This commit is contained in:
Ryan Hughes 2025-10-24 04:01:07 -04:00
parent efdea50053
commit 63d4482e8c
No known key found for this signature in database
2 changed files with 2 additions and 2 deletions

View File

@ -23,7 +23,7 @@ if pacman -Qem >/dev/null; then
fi
fi
orphans=$(pacman -Qtdq)
orphans=$(pacman -Qtdq || true)
if [[ -n $orphans ]]; then
echo -e "\e[32m\nRemove orphan system packages\e[0m"
for pkg in $orphans; do

View File

@ -1 +1 @@
3.1.2
3.1.3