1
0
mirror of https://github.com/mailcow/mailcow-dockerized.git synced 2024-11-28 08:52:00 +02:00

Removed extra checkout line

This commit is contained in:
DerLinkman 2022-06-16 12:56:54 +02:00
parent 89cea31475
commit 6612b892b7

View File

@ -597,8 +597,7 @@ fi
echo -e "\e[32mChecking for newer update script...\e[0m" echo -e "\e[32mChecking for newer update script...\e[0m"
SHA1_1=$(sha1sum update.sh) SHA1_1=$(sha1sum update.sh)
git fetch origin #${BRANCH} git fetch origin #${BRANCH}
git checkout origin/${BRANCH} update.sh git checkout origin/${BRANCH} update.sh docker-compose.yml
git checkout origin/${BRANCH} docker-compose.yml
SHA1_2=$(sha1sum update.sh) SHA1_2=$(sha1sum update.sh)
if [[ ${SHA1_1} != ${SHA1_2} ]]; then if [[ ${SHA1_1} != ${SHA1_2} ]]; then
echo "update.sh changed, please run this script again, exiting." echo "update.sh changed, please run this script again, exiting."