SPECS: cherokee.spec - fixed user removal and post script

glen glen at pld-linux.org
Sat Dec 31 17:25:15 CET 2005


Author: glen                         Date: Sat Dec 31 16:25:15 2005 GMT
Module: SPECS                         Tag: HEAD
---- Log message:
- fixed user removal and post script

---- Files affected:
SPECS:
   cherokee.spec (1.10 -> 1.11) 

---- Diffs:

================================================================
Index: SPECS/cherokee.spec
diff -u SPECS/cherokee.spec:1.10 SPECS/cherokee.spec:1.11
--- SPECS/cherokee.spec:1.10	Sat Dec 31 17:19:09 2005
+++ SPECS/cherokee.spec	Sat Dec 31 17:25:09 2005
@@ -12,7 +12,7 @@
 Summary(pl):	Cherokee - serwer WWW
 Name:		cherokee
 Version:	0.4.29
-Release:	0.13
+Release:	0.15
 License:	GPL v2
 Group:		Networking/Daemons
 Source0:	http://www.0x50.org/download/0.4/0.4.29/%{name}-%{version}.tar.gz
@@ -145,7 +145,8 @@
 %post
 /sbin/ldconfig
 /sbin/chkconfig --add %{name}
-%service %{name} restart "Cherokee webserver" || :
+%service %{name} restart "Cherokee webserver"
+exit 0
 
 %preun
 if [ "$1" = "0" ]; then
@@ -156,8 +157,8 @@
 %postun
 /sbin/ldconfig
 if [ "$1" = "0" ]; then
-	%userremove lighttpd
-	%groupremove lighttpd
+	%userremove cherokee
+	%groupremove cherokee
 	%groupremove http
 fi
 
@@ -247,6 +248,9 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.11  2005/12/31 16:25:09  glen
+- fixed user removal and post script
+
 Revision 1.10  2005/12/31 16:19:09  glen
 - fix pam install (it needs /etc/pam.d to install file)
 
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/SPECS/cherokee.spec?r1=1.10&r2=1.11&f=u



More information about the pld-cvs-commit mailing list