corrections following testing on OS X 10.8
[OSXPackageBuilder.git] / pkg content skeleton / Applications / Privoxy / stopPrivoxy.sh
index a8052f0..f878f22 100755 (executable)
@@ -38,8 +38,8 @@ if [ "$UID" -eq "$root_UID" ]; then
        # what is the kernel version
        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*)
                        /bin/launchctl unload /Library/LaunchDaemons/org.ijbswa.privoxy.plist
                ;;
                # Mac OS X 10.4, 10.3