Compatibility with macOS 11 and adding more recent PCRE
[OSXPackageBuilder.git] / pkg content skeleton / Applications / Privoxy / uninstall.command
index a237fe1..6f32080 100755 (executable)
@@ -88,7 +88,7 @@ if [ "$UID" -eq "$root_UID" ]; then
 
                        case "${darwin_major_rel_num}" in
                                # Mac OS X 10.5 or higher
-                               9|1*)
+                               9|1*|2*|3*)
                                        # 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
@@ -140,4 +140,4 @@ else
        echo
 fi
 
-exit 0
\ No newline at end of file
+exit 0