mirror of
https://github.com/basecamp/omarchy.git
synced 2026-01-09 05:10:54 +08:00
Hotfix: Prevent error when no orphans exist
This commit is contained in:
parent
efdea50053
commit
63d4482e8c
@ -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
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user