mirror of
https://github.com/eliasstepanik/ark-ac-server-tools.git
synced 2026-01-26 08:18:27 +00:00
Merge pull request #214 from klightspeed/1.4-dev#fixhotfix
Fix hotfix detection; don't downgrade
This commit is contained in:
commit
4856d8bbb1
@ -46,7 +46,7 @@ doUpgradeTools() {
|
|||||||
else
|
else
|
||||||
exit 0
|
exit 0
|
||||||
fi
|
fi
|
||||||
elif [[ "$arkstLatestCommit" != "$arkstCommit" ]]; then
|
elif [[ $arkstLatestVersion == $arkstVersion && "$arkstLatestCommit" != "$arkstCommit" ]]; then
|
||||||
read -p "A hotfix is available for v${arkstLatestVersion}. Do you wish to install it?" -n 1 -r
|
read -p "A hotfix is available for v${arkstLatestVersion}. Do you wish to install it?" -n 1 -r
|
||||||
echo -en "\n"
|
echo -en "\n"
|
||||||
if [[ $REPLY =~ ^[Yy]$ ]]; then
|
if [[ $REPLY =~ ^[Yy]$ ]]; then
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user