Readded (again) the new update script check...
This commit is contained in:
parent
40cf2c85e6
commit
43ec12f4f0
20
update.sh
20
update.sh
@ -652,16 +652,16 @@ else
|
|||||||
fi
|
fi
|
||||||
fi
|
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
|
||||||
# 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."
|
||||||
# chmod +x update.sh
|
chmod +x update.sh
|
||||||
# exit 2
|
exit 2
|
||||||
# fi
|
fi
|
||||||
|
|
||||||
if [[ -f mailcow.conf ]]; then
|
if [[ -f mailcow.conf ]]; then
|
||||||
source mailcow.conf
|
source mailcow.conf
|
||||||
|
Loading…
Reference in New Issue
Block a user