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