aboutsummaryrefslogtreecommitdiff
path: root/share/hydractl/upgrade
diff options
context:
space:
mode:
Diffstat (limited to 'share/hydractl/upgrade')
-rwxr-xr-xshare/hydractl/upgrade1
1 files changed, 1 insertions, 0 deletions
diff --git a/share/hydractl/upgrade b/share/hydractl/upgrade
index 350d795..b591a48 100755
--- a/share/hydractl/upgrade
+++ b/share/hydractl/upgrade
@@ -28,6 +28,7 @@ fi
if ! $sudo lsof /var/lib/dpkg/lock &> /dev/null; then
$sudo apt-get update
$sudo apt-get dist-upgrade -y
+ $sudo apt-get autoremove -y
else
echo "Apt is locked, aborting."
fi