mirror of
https://github.com/eliasstepanik/ark-ac-server-tools.git
synced 2026-01-14 19:48:27 +00:00
Fix hotfix detection; don't downgrade
This commit is contained in:
parent
feef498541
commit
1efb536c13
@ -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