Skip to content

Commit

Permalink
Added Autoremove function to rebash
Browse files Browse the repository at this point in the history
  • Loading branch information
exarobibliologist committed Nov 28, 2024
1 parent 65bbaa1 commit 8713429
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion rebash
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ do
return
;;
"Upgrade Menu")
select upgradechoice in "List Upgrades" "Run Safe-Upgrade" "Run Full-Upgrade"
select upgradechoice in "List Upgrades" "Run Safe-Upgrade" "Run Full-Upgrade" "Autoremove Unrequired"
do
case "$upgradechoice" in
"List Upgrades")
Expand All @@ -52,6 +52,10 @@ do
sudo apt full-upgrade || return
return
;;
"Autoremove Unrequired")
sudo apt autoremove || return
return
;;
esac
done
return
Expand Down

0 comments on commit 8713429

Please sign in to comment.