Permalink
Browse files

update preflight to kepp uninstaller

  • Loading branch information...
1 parent 36fc685 commit 6af0b3030b347ce59d51f0547ae46456013f8a87 @tekezo committed Aug 13, 2012
Showing with 4 additions and 1 deletion.
  1. +4 −1 pkginfo/Resources/preflight
@@ -30,6 +30,9 @@ rm -rf /Library/PreferencePanes/KeyRemap4MacBook.prefPane
rm -f /Library/LaunchAgents/org.pqrs.KeyRemap4MacBook.*
rm -f /Library/LaunchDaemons/org.pqrs.KeyRemap4MacBook.*
-rm -rf /tmp/KeyRemap4MacBook_uninstaller.*
+# Don't remove uninstaller because
+# this script is also called from uninstaller and
+# we need to keep KeyRemap4MacBookUninstaller.icns while uninstaller is running.
+# rm -rf /tmp/KeyRemap4MacBook_uninstaller.*
exit 0

0 comments on commit 6af0b30

Please sign in to comment.