Skip to content

Commit

Permalink
Add style for orphan/unused removal as well
Browse files Browse the repository at this point in the history
  • Loading branch information
Antiz96 committed Nov 10, 2023
1 parent 6de2e5d commit 8357d8b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/script/arch-update.sh
Original file line number Diff line number Diff line change
Expand Up @@ -228,7 +228,7 @@ orphan_packages() {

case "${answer}" in
[Yy])
echo
echo "--Removing Orphan Packages--"
pacman -Qtdq | "${su_cmd}" pacman -Rns - && echo -e "\nThe removal has been applied\n" || echo -e >&2 "\nAn error has occurred\nThe removal has been aborted\n"
;;
*)
Expand All @@ -250,7 +250,7 @@ orphan_packages() {

case "${answer}" in
[Yy])
echo
echo "--Removing Flatpak Unused Packages--"
flatpak remove --unused && echo -e "\nThe removal has been applied\n" || echo -e >&2 "\nAn error has occurred\nThe removal has been aborted\n"
;;
*)
Expand Down

0 comments on commit 8357d8b

Please sign in to comment.