Skip to content

Commit

Permalink
Fix: postinstall
Browse files Browse the repository at this point in the history
  • Loading branch information
thantthet committed May 9, 2020
1 parent 5c2c358 commit 192382e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion macOS/package/resource/scripts/postinstall
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 192382e

Please sign in to comment.