Correcting a comment
[OSXPackageBuilder.git] / pkg resources / single-binary scripts / preupgrade
index 953a45c..f0238ea 100755 (executable)
@@ -27,7 +27,8 @@
 #                USA
 #
 # Modification : If you modify this file please consider whether your 
-#                changes ought to be passed back to the macsetup module.
+#                changes ought to be passed back to the OSXPackageBuilder
+#                module.
 #
 
 #  This preinstall script:
@@ -91,8 +92,8 @@ echo 'Darwin major release version is:' ${darwin_major_rel_num} >> ${logfile}
 # 3. Create the privoxy group and user (using the host-specific command to do so)
 #
 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*)
     GNAME="`/usr/bin/dscl /Local/Default -list /groups | /usr/bin/grep -E '^(_)?privoxy?'`"
     UNAME="`/usr/bin/dscl /Local/Default -list /users | /usr/bin/grep -E '^(_)?privoxy?'`"
        # create group if it does not exist