Permalink
Browse files

update uninstall & installer params

  • Loading branch information...
tekezo authored and tekezo committed Apr 17, 2008
1 parent 80ced61 commit 6e280ddca138b585bc0487c777c5fcee080b44f1
Showing with 16 additions and 8 deletions.
  1. +7 −2 files/extra/uninstall.sh
  2. +1 −1 pkginfo/Info.plist
  3. +1 −1 pkginfo/Info.plist.tmpl
  4. +0 −2 pkginfo/Resources/postflight
  5. +7 −2 pkginfo/Resources/preflight
View
@@ -24,7 +24,12 @@ rm -rf /Library/org.pqrs/KeyRemap4MacBook
rm -rf /Library/PreferencePanes/KeyRemap4MacBook.prefPane
-rm -ff /Library/LaunchDaemons/org.pqrs.KeyRemap4MacBook.*
-rm -ff /Library/LaunchAgents/org.pqrs.KeyRemap4MacBook.*
+rm -f /Library/LaunchAgents/org.pqrs.KeyRemap4MacBook.*
+rm -f /Library/LaunchDaemons/org.pqrs.KeyRemap4MacBook.*
+
+# ----------------------------------------
+# kill processes
+killall KeyRemap4MacBook_server
+
exit 0
View
@@ -45,7 +45,7 @@
<false/>
<key>IFPkgFlagRestartAction</key>
- <string>NoRestart</string>
+ <string>RecommendedRestart</string>
<key>IFPkgFlagRootVolumeOnly</key>
<true/>
View
@@ -45,7 +45,7 @@
<false/>
<key>IFPkgFlagRestartAction</key>
- <string>NoRestart</string>
+ <string>RecommendedRestart</string>
<key>IFPkgFlagRootVolumeOnly</key>
<true/>
@@ -4,6 +4,4 @@ PATH=/bin:/sbin:/usr/bin:/usr/sbin; export PATH
startup="/Library/org.pqrs/KeyRemap4MacBook/scripts/startup.sh"
[ -f "$startup" ] && "$startup" quickstart
-launchctl load /Library/LaunchAgents/org.pqrs.KeyRemap4MacBook.server.plist
-
exit 0
@@ -20,7 +20,12 @@ done
# uninstall
rm -rf /Library/StartupItems/KeyRemap4MacBook
rm -rf /Applications/KeyRemap4MacBook
-rm -rf /Library/LaunchAgents/org.pqrs.KeyRemap4MacBook.*
-rm -rf /Library/LaunchDaemons/org.pqrs.KeyRemap4MacBook.*
+rm -f /Library/LaunchAgents/org.pqrs.KeyRemap4MacBook.*
+rm -f /Library/LaunchDaemons/org.pqrs.KeyRemap4MacBook.*
+
+# ----------------------------------------
+# kill processes
+killall KeyRemap4MacBook_server
+
exit 0

0 comments on commit 6e280dd

Please sign in to comment.