fix ubuntu salt-common package name

This commit is contained in:
m0duspwnens
2020-07-31 12:37:19 -04:00
parent 7287f5f935
commit d6f89cb09a
3 changed files with 26 additions and 14 deletions

View File

@@ -194,7 +194,7 @@ upgrade_check_salt() {
elif [ "$OS" == "ubuntu" ]; then
echo "Removing apt hold for Salt."
echo ""
apt-mark unhold "salt"
apt-mark unhold "salt-common"
apt-mark unhold "salt-master"
apt-mark unhold "salt-minion"
echo "Updating Salt packages and restarting services."
@@ -202,7 +202,7 @@ upgrade_check_salt() {
sh $UPDATE_DIR/salt/salt/scripts/bootstrap-salt.sh -F -M -x python3 stable "$NEWSALTVERSION"
echo "Applying apt hold for Salt."
echo ""
apt-mark hold "salt"
apt-mark hold "salt-common"
apt-mark hold "salt-master"
apt-mark hold "salt-minion"
fi