Update soup

only check if salt was upgraded if upgrade_salt function was called
This commit is contained in:
Josh Patterson
2021-11-23 11:14:10 -05:00
committed by GitHub
parent af4c04be59
commit c67b2b6936

View File

@@ -933,7 +933,6 @@ main() {
echo "Upgrading Salt" echo "Upgrading Salt"
# Update the repo files so it can actually upgrade # Update the repo files so it can actually upgrade
upgrade_salt upgrade_salt
fi
echo "Checking if Salt was upgraded." echo "Checking if Salt was upgraded."
echo "" echo ""
@@ -949,6 +948,7 @@ main() {
echo "Salt upgrade success." echo "Salt upgrade success."
echo "" echo ""
fi fi
fi
preupgrade_changes preupgrade_changes
echo "" echo ""