From 1f6017a1fa740915163f9f8e74ada6e647953f51 Mon Sep 17 00:00:00 2001 From: Vishwas Shashidhar Date: Tue, 12 Feb 2019 19:58:08 +0530 Subject: [PATCH] fix preinstall script app_version placeholder --- installer/mac/preinstall.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/installer/mac/preinstall.sh b/installer/mac/preinstall.sh index acac19a4..4fdaa4d7 100755 --- a/installer/mac/preinstall.sh +++ b/installer/mac/preinstall.sh @@ -12,7 +12,7 @@ delete_app() compare_versions() { # Get the installer version: - CURRENT_VERSION=${APP_VERSION} + CURRENT_VERSION=APP_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)}')