We could not update Symphony on mac because the version was wrong

This commit is contained in:
Johan Kwarnmark 2019-11-26 16:39:01 +01:00
parent ecf5c71958
commit 3ac823d333

View File

@ -12,7 +12,7 @@ delete_app()
compare_versions() compare_versions()
{ {
# Get the installer version: # Get the installer version:
CURRENT_VERSION=5.0.0 CURRENT_VERSION=6.0.0
# Get the currently installed version: # Get the currently installed version:
INSTALLED_VERSION=$(plutil -p /Applications/Symphony.app/Contents/Info.plist | awk '/CFBundleShortVersionString/ {print substr($3, 2, length($3)-2)}') INSTALLED_VERSION=$(plutil -p /Applications/Symphony.app/Contents/Info.plist | awk '/CFBundleShortVersionString/ {print substr($3, 2, length($3)-2)}')