fix preinstall script app_version placeholder

This commit is contained in:
Vishwas Shashidhar 2019-02-12 19:58:08 +05:30
parent 5d9bebd86c
commit 1f6017a1fa

View File

@ -12,7 +12,7 @@ delete_app()
compare_versions() compare_versions()
{ {
# Get the installer version: # Get the installer version:
CURRENT_VERSION=${APP_VERSION} CURRENT_VERSION=APP_VERSION
# 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)}')