[bug-notifications] [cupsd 0002185]: postinstall stop step may be incorrect

Mantis Bug Tracker noreply at opencsw.org
Thu Nov 12 22:21:02 CET 2009


The following issue has been ASSIGNED. 
====================================================================== 
http://www.opencsw.org/bugtrack/view.php?id=2185 
====================================================================== 
Reported By:                ucbscf
Assigned To:                maciej
====================================================================== 
Project:                    cupsd
Issue ID:                   2185
Category:                   packaging
Reproducibility:            have not tried
Severity:                   tweak
Priority:                   normal
Status:                     assigned
====================================================================== 
Date Submitted:             2007-03-27 16:56 CEST
Last Modified:              2009-11-12 22:21 CET
====================================================================== 
Summary:                    postinstall stop step may be incorrect
Description: 
In discovering my previously reported bug, I spotted what I *think* may be
another bug. The test of $smf should actually be a test of $class. Also,
does cupsd need to be stopped inside of a jumpstart installation? It
actually should never get started there.

--- postinstall-        Mon Jan 22 08:55:45 2007
+++ postinstall Tue Mar 27 13:53:43 2007
@@ -13,11 +13,9 @@
 # install, rather than a jumpstart install or something.
 case \"$PKG_ROOT_DIR\" in
   \"\"|\"/\")
-    if [ \"$smf\" = \"yes\" ]; then
+    if [ \"$class\" = \"smfyes\" ]; then
       /usr/sbin/svcadm disable -s svc:application/print/cswcups:default
       /usr/sbin/svccfg delete svc:application/print/cswcups:default
-    else
-      test -x $BASEDIR/etc/init.d/cswcups &&
$BASEDIR/etc/init.d/cswcups stop
     fi
     ;;
 esac
====================================================================== 

---------------------------------------------------------------------- 
 (0006977) maciej (manager) - 2009-11-12 20:27
 http://www.opencsw.org/bugtrack/view.php?id=2185#c6977 
---------------------------------------------------------------------- 
Please check if it still applies. I think it doesn't, because the mentioned
script is no longer part of the OpenCSW cups distribution.




More information about the bug-notifications mailing list