aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSilvio Rhatto <rhatto@riseup.net>2024-03-08 12:57:48 -0300
committerSilvio Rhatto <rhatto@riseup.net>2024-03-08 12:57:48 -0300
commit23c3049eb23a456d4e843d7d06b1c74a91196476 (patch)
treeeb621b169c14d6605d0787f37e46ae460fabf9bf
parent14785fa0d1f823734f1b8e7cc70ace87b31052a7 (diff)
downloadhydra-23c3049eb23a456d4e843d7d06b1c74a91196476.tar.gz
hydra-23c3049eb23a456d4e843d7d06b1c74a91196476.tar.bz2
Fix: hydractl: remove-dep: autoremove/purge packages
-rwxr-xr-xshare/hydractl/remove-dep2
1 files changed, 2 insertions, 0 deletions
diff --git a/share/hydractl/remove-dep b/share/hydractl/remove-dep
index 5e1a732..709cda2 100755
--- a/share/hydractl/remove-dep
+++ b/share/hydractl/remove-dep
@@ -38,3 +38,5 @@ fi
$sudo aptitude markauto $(apt-cache showsrc "$1" \
| grep Build-Depends \
| perl -p -e 's/(?:[\[(].+?[\])]|Build-Depends:|,|\|)//g')
+
+$sudo apt autoremove --purge