prevent dockers from redownloading if we are updating soup to a branch

This commit is contained in:
m0duspwnens
2020-07-27 18:19:26 -04:00
parent f42a39ca69
commit 254dcdb2f0
3 changed files with 11 additions and 7 deletions

View File

@@ -225,11 +225,15 @@ upgrade_check_salt
echo "Making pillar changes"
pillar_changes
echo ""
echo "Cleaning up old dockers"
clean_dockers
echo ""
echo "Updating docker to $NEWVERSION"
update_dockers
if [ "$INSTALLEDVERSION" != "$NEWVERSION" ]; then
echo "Cleaning up old dockers"
clean_dockers
echo ""
echo "Updating docker to $NEWVERSION"
update_dockers
fi
echo ""
echo "Copying new code"
copy_new_files