SPECS: sqwebmail.spec - ask questions

glen glen at pld-linux.org
Mon Mar 13 23:33:57 CET 2006


Author: glen                         Date: Mon Mar 13 22:33:57 2006 GMT
Module: SPECS                         Tag: HEAD
---- Log message:
- ask questions

---- Files affected:
SPECS:
   sqwebmail.spec (1.90 -> 1.91) 

---- Diffs:

================================================================
Index: SPECS/sqwebmail.spec
diff -u SPECS/sqwebmail.spec:1.90 SPECS/sqwebmail.spec:1.91
--- SPECS/sqwebmail.spec:1.90	Fri Feb  3 17:51:42 2006
+++ SPECS/sqwebmail.spec	Mon Mar 13 23:33:52 2006
@@ -195,9 +195,7 @@
 %preun
 if [ "$1" = "0" ]; then
 	/sbin/chkconfig --del sqwebmail
-	if [ -f /var/lock/subsys/sqwebmail ]; then
-		/etc/rc.d/init.d/sqwebmail stop 1>&2
-	fi
+	%service sqwebmail stop
 	[ ! -L %{_datadir}/sqwebmail/html/en ] || rm -f %{_datadir}/sqwebmail/html/en
 fi
 
@@ -208,13 +206,14 @@
 	%{_sbindir}/courierlogger -pid=/var/run/sqwebmaild.pid.pcp -start \
 		%{_libexecdir}/sqwebmail/pcpd server
 else
+	# FIXME: why not just restart it? %%service -q sqwebmail restart
 	if [ -f /var/lock/subsys/sqwebmail ]; then
 		echo
-		echo 'Type "/etc/rc.d/init.d/sqwebmail restart" to start sqwebmail with calendar'
+		echo 'Type "/sbin/service sqwebmail restart" to start sqwebmail with calendar'
 		echo
 	else
 		echo
-		echo 'Type "/etc/rc.d/init.d/sqwebmail start" to start sqwebmail with calendar'
+		echo 'Type "/sbin/service sqwebmail start" to start sqwebmail with calendar'
 		echo
 	fi
 fi
@@ -366,6 +365,9 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.91  2006/03/13 22:33:52  glen
+- ask questions
+
 Revision 1.90  2006/02/03 16:51:42  baggins
 - release 3
 
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/SPECS/sqwebmail.spec?r1=1.90&r2=1.91&f=u



More information about the pld-cvs-commit mailing list