# 3. Detects the version of OS X on which we're installing
# 4. Creates the logfile if not found and sets its ownership and persmissions
# 5. Disables the startup method not necessary for the host's OS X version and start Privoxy
-# 6. Writes the package name into the uninstall script
-# 7. Opens the readme.rtf file for the user to read
+# 6. Opens the readme.rtf file for the user to read
# preinstall created this file; continue to append to it in this script
logfile='/var/privoxy_installation.log'
# 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
;;
esac
-# 6. Write the package name into the uninstall script
-#
-#TODO
-
-# 7. Open the readme.rtf file for the user to read
+# 6. Open the readme.rtf file for the user to read
/usr/bin/su $USER -c "/usr/bin/open /Applications/Privoxy/readme.rtfd"
/bin/mv ${logfile} /Applications/Privoxy/install.log