mirror of
https://github.com/mailcow/mailcow-dockerized.git
synced 2026-08-03 23:43:15 +00:00
Fix update script
This commit is contained in:
parent
a0589b4275
commit
a45d78db54
1 changed files with 0 additions and 3 deletions
|
|
@ -23,9 +23,6 @@ BRANCH=$(git rev-parse --abbrev-ref HEAD)
|
|||
TMPFILE=$(mktemp "${TMPDIR:-/tmp}/curldata.XXXXXX")
|
||||
FORGED_SCRIPT=$(mktemp "${TMPDIR:-/tmp}/updatesh.XXXXXX")
|
||||
|
||||
echo $(basename ${0})
|
||||
exit 0
|
||||
|
||||
echo -e "\e[32mChecking for newer update script...\e[90m"
|
||||
curl -#o ${TMPFILE} https://raw.githubusercontent.com/mailcow/mailcow-dockerized/${BRANCH}/update.sh
|
||||
if [[ $(sha1sum ${TMPFILE} | awk '{ print $1 }') != $(sha1sum ./update.sh | awk '{ print $1 }') ]]; then
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue