Skip to content

Commit c492a74

Browse files
committed
add the autoremove logic to the update function
1 parent d3e4424 commit c492a74

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

bash/functions/functions.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ function python() {
1818
}
1919

2020
function update() {
21-
sudo apt update -y && sudo apt upgrade
21+
sudo apt update -y && sudo apt upgrade && sudo apt autoremove
2222
pipx upgrade-all
2323

2424
is_personal_computer && fwupdmgr update

0 commit comments

Comments
 (0)