corrections following testing on OS X 10.8
[OSXPackageBuilder.git] / pkg content skeleton / Applications / Privoxy / uninstall.command
index 1112c00..567f0a3 100755 (executable)
@@ -89,8 +89,8 @@ if [ "$UID" -eq "$root_UID" ]; then
                        darwin_major_rel_num="`/usr/bin/uname -r | /usr/bin/sed 's/\..*//'`"
 
                        case "${darwin_major_rel_num}" in
-                               # Mac OS X 10.7, 10.6, 10.5
-                               11|10|9)
+                               # Mac OS X 10.5 or higher
+                               9|1*)
                                        # Delete Privoxy LaunchDaemon
                                        echo 'Delete Privoxy LaunchDaemon (an error will be thrown regarding "no such process")'
                                        /bin/launchctl unload /Library/LaunchDaemons/org.ijbswa.privoxy.plist