Merge pull request #214 from klightspeed/1.4-dev#fixhotfix

Fix hotfix detection; don't downgrade
This commit is contained in:
Fez Vrasta 2015-10-04 22:56:35 +02:00
commit 4856d8bbb1

View File

@ -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