corrections following testing on OS X 10.8
[OSXPackageBuilder.git] / pkg resources / single-binary scripts / postinstall
index 91e2cdd..215a189 100755 (executable)
@@ -104,8 +104,8 @@ echo 'Creating Privoxy logfile and setting owner and permissions' >> ${logfile}
 # 5. Disable the startup method not necessary for the host's OS X version and start Privoxy
 #
 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 StartupItem
                echo 'Delete the Privoxy StartupItem since it is not required for this OS X version' >> ${logfile}
                if [ -d /Library/StartupItems/Disabled/Privoxy ]; then