summaryrefslogtreecommitdiff
path: root/share/hydractl
diff options
context:
space:
mode:
authorSilvio Rhatto <rhatto@riseup.net>2016-04-14 14:45:41 -0300
committerSilvio Rhatto <rhatto@riseup.net>2016-04-14 14:45:41 -0300
commitc1bed7d7b03370a6d0113f0eb348729df8e2445e (patch)
treec011a348dee464260d386a272e82dd4dd3dbc0b7 /share/hydractl
parent4d05902d42ff3da2c63f9a0abdda57557194a427 (diff)
downloadhydra-c1bed7d7b03370a6d0113f0eb348729df8e2445e.tar.gz
hydra-c1bed7d7b03370a6d0113f0eb348729df8e2445e.tar.bz2
Upgrade: run apt-get autoremove
Diffstat (limited to 'share/hydractl')
-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