mirror of
https://github.com/eliasstepanik/ark-ac-server-tools.git
synced 2026-01-13 03:18:28 +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
|
||||
exit 0
|
||||
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
|
||||
echo -en "\n"
|
||||
if [[ $REPLY =~ ^[Yy]$ ]]; then
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user