bug fix in auto update function.
This commit is contained in:
parent
04d1d660e3
commit
3a92b161fc
@ -10,7 +10,7 @@ update() {
|
|||||||
return
|
return
|
||||||
fi
|
fi
|
||||||
# make sure the site can be reached
|
# make sure the site can be reached
|
||||||
ping -c1 https://stormgames.wolfe.casa &> /dev/null || return
|
ping -c1 stormgames.wolfe.casa &> /dev/null || return
|
||||||
if [[ "$(wget --quiet -O - https://stormgames.wolfe.casa/downloads/audiogame-manager | sha256sum | cut -d ' ' -f1)" == "$(sha256sum "${filePath}" | cut -d ' ' -f1)" ]]; then
|
if [[ "$(wget --quiet -O - https://stormgames.wolfe.casa/downloads/audiogame-manager | sha256sum | cut -d ' ' -f1)" == "$(sha256sum "${filePath}" | cut -d ' ' -f1)" ]]; then
|
||||||
return
|
return
|
||||||
fi
|
fi
|
||||||
|
Loading…
Reference in New Issue
Block a user