aboutsummaryrefslogtreecommitdiff
path: root/share/hydractl/upgrade
diff options
context:
space:
mode:
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