SPECS: openais.spec - users created should be also removed (thnx g...

zbyniu zbyniu at pld-linux.org
Thu Apr 5 22:25:13 CEST 2007


Author: zbyniu                       Date: Thu Apr  5 20:25:13 2007 GMT
Module: SPECS                         Tag: HEAD
---- Log message:
- users created should be also removed (thnx glen)

---- Files affected:
SPECS:
   openais.spec (1.4 -> 1.5) 

---- Diffs:

================================================================
Index: SPECS/openais.spec
diff -u SPECS/openais.spec:1.4 SPECS/openais.spec:1.5
--- SPECS/openais.spec:1.4	Thu Apr  5 17:05:16 2007
+++ SPECS/openais.spec	Thu Apr  5 22:25:08 2007
@@ -79,14 +79,19 @@
 /sbin/chkconfig --add openais
 %service openais restart
 
-%postun -p /sbin/ldconfig
-
 %preun
 if [ "$1" -eq "0" ]; then
 	%service -q openais stop
 	/sbin/chkconfig --del openais
 fi
 
+%postun
+if [ "$1" = "0" ]; then
+	%userremove ais
+	%groupremove ais
+fi
+/sbin/ldconfig
+
 %files
 %defattr(644,root,root,755)
 %doc CHANGELOG LICENSE README.devmap README.amf SECURITY
@@ -117,6 +122,9 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.5  2007/04/05 20:25:08  zbyniu
+- users created should be also removed (thnx glen)
+
 Revision 1.4  2007/04/05 15:05:16  qboosh
 - pl
 
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/SPECS/openais.spec?r1=1.4&r2=1.5&f=u



More information about the pld-cvs-commit mailing list