aboutsummaryrefslogtreecommitdiff
path: root/share/hydractl
diff options
context:
space:
mode:
authorSilvio Rhatto <rhatto@riseup.net>2013-02-14 17:23:44 -0200
committerSilvio Rhatto <rhatto@riseup.net>2013-02-14 17:23:44 -0200
commit7fd8eafb2ed1c3e670bc4b31c5cd9f8e8039c754 (patch)
tree9cfdf67d0fd2814c24f8a7e63e81696a8552fdac /share/hydractl
parent8c16500cdfecbfeaef7709feb2cf87312113951b (diff)
downloadhydra-7fd8eafb2ed1c3e670bc4b31c5cd9f8e8039c754.tar.gz
hydra-7fd8eafb2ed1c3e670bc4b31c5cd9f8e8039c754.tar.bz2
Autoremove and -y for downloading
Diffstat (limited to 'share/hydractl')
-rwxr-xr-xshare/hydractl/system-upgrade3
1 files changed, 2 insertions, 1 deletions
diff --git a/share/hydractl/system-upgrade b/share/hydractl/system-upgrade
index 1ffdf34..b5f374c 100755
--- a/share/hydractl/system-upgrade
+++ b/share/hydractl/system-upgrade
@@ -50,12 +50,13 @@ echo "Updating package listing..."
apt-get update
echo ""
echo "Downloading packages..."
-apt-get dist-upgrade -d
+apt-get dist-upgrade -d -y
# Upgrade the system
echo ""
echo "Upgrading the system..."
apt-get dist-upgrade
+apt-get autoremove
# Enable puppet again
echo ""