mirror of
https://github.com/ChrisTitusTech/linutil.git
synced 2024-11-21 12:59:41 +00:00
fix(system-cleanup): failing with no orphan packages on arch (#882)
* Add extra check * Update core/tabs/system-setup/system-cleanup.sh Co-authored-by: Adam Perkowski <adas1per@protonmail.com> --------- Co-authored-by: Adam Perkowski <adas1per@protonmail.com>
This commit is contained in:
parent
95cfbe8920
commit
17ff412595
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue
Block a user