#!/bin/sh

/usr/bin/osascript \
-e 'tell application "Finder"' \
-e 'if exists application process "KMSwitch" then' \
-e 'quit application "KMSwitch"' \
-e 'end if' \
-e 'end tell'

rm -f ~/Library/Preferences/KMSwitch.pkg

exit