aboutsummaryrefslogtreecommitdiff
path: root/share/hydractl/upgrade
diff options
context:
space:
mode:
authorSilvio Rhatto <rhatto@riseup.net>2016-02-08 02:21:45 -0200
committerSilvio Rhatto <rhatto@riseup.net>2016-02-08 02:21:45 -0200
commit032b6e5ec2c34f992b4d8a344ef460db4e9369d2 (patch)
treec81e17e355bfaa94d54dda1ff5dca3eba488eb41 /share/hydractl/upgrade
parentc47d2e7762e8f2ac77efcee5b65ccc794f2c1f25 (diff)
downloadhydra-032b6e5ec2c34f992b4d8a344ef460db4e9369d2.tar.gz
hydra-032b6e5ec2c34f992b4d8a344ef460db4e9369d2.tar.bz2
Some simplification
Diffstat (limited to 'share/hydractl/upgrade')
-rwxr-xr-xshare/hydractl/upgrade6
1 files changed, 3 insertions, 3 deletions
diff --git a/share/hydractl/upgrade b/share/hydractl/upgrade
index e3c1141..a4d9917 100755
--- a/share/hydractl/upgrade
+++ b/share/hydractl/upgrade
@@ -26,8 +26,8 @@ fi
# Issue upgrade
if ! $sudo lsof /var/lib/dpkg/lock &> /dev/null; then
- $sudo aptitude update
- $sudo aptitude full-upgrade -y
+ $sudo apt-get update
+ $sudo apt-get full-upgrade -y
else
echo "Apt is locked, aborting."
fi
@@ -40,5 +40,5 @@ hydractl pbuilder-upgrade
# Cleanup
if [ "$CLEAN" == "clean" ]; then
- $sudo aptitude clean
+ $sudo apt-get clean
fi