From 192382e53acd3820bb774f33e9fa55def331203f Mon Sep 17 00:00:00 2001 From: Thant Thet Date: Sun, 10 May 2020 01:07:05 +0630 Subject: [PATCH] Fix: postinstall --- macOS/package/resource/scripts/postinstall | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/macOS/package/resource/scripts/postinstall b/macOS/package/resource/scripts/postinstall index 11b2ea3..2015c92 100755 --- a/macOS/package/resource/scripts/postinstall +++ b/macOS/package/resource/scripts/postinstall @@ -31,7 +31,7 @@ chown -R $USER "$HOME/.keymagic/" if [ "$ALL_USERS" == "true" ]; then rm -rf "$HOME/$IMDir/KeyMagic.app" || 0 -else if [ -d "/$IMDir/KeyMagic.app" ]; then # if app exists in root volume +elif [ -d "/$IMDir/KeyMagic.app" ]; then # if app exists in root volume rm -rf "$HOME/$IMDir/KeyMagic.app" || 0 # self remove exit 1 # and fail fi