Skip to content

Commit

Permalink
fix(system-cleanup): failing with no orphan packages on arch (ChrisTi…
Browse files Browse the repository at this point in the history
…tusTech#882)

* Add extra check

* Update core/tabs/system-setup/system-cleanup.sh

Co-authored-by: Adam Perkowski <[email protected]>

---------

Co-authored-by: Adam Perkowski <[email protected]>
  • Loading branch information
infstate and adamperkowski authored Nov 8, 2024
1 parent 95cfbe8 commit 17ff412
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion core/tabs/system-setup/system-cleanup.sh
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ cleanup_system() {
;;
pacman)
"$ESCALATION_TOOL" "$PACKAGER" -Sc --noconfirm
"$ESCALATION_TOOL" "$PACKAGER" -Rns $(pacman -Qtdq) --noconfirm > /dev/null 2>&1
"$ESCALATION_TOOL" "$PACKAGER" -Rns $(pacman -Qtdq) --noconfirm > /dev/null || true
;;
apk)
"$ESCALATION_TOOL" "$PACKAGER" cache clean
Expand Down

0 comments on commit 17ff412

Please sign in to comment.