SPECS: ConsoleKit.spec - trigger added

qboosh qboosh at pld-linux.org
Fri Jan 25 23:45:46 CET 2008


Author: qboosh                       Date: Fri Jan 25 22:45:46 2008 GMT
Module: SPECS                         Tag: HEAD
---- Log message:
- trigger added

---- Files affected:
SPECS:
   ConsoleKit.spec (1.12 -> 1.13) 

---- Diffs:

================================================================
Index: SPECS/ConsoleKit.spec
diff -u SPECS/ConsoleKit.spec:1.12 SPECS/ConsoleKit.spec:1.13
--- SPECS/ConsoleKit.spec:1.12	Wed Jan 23 23:33:14 2008
+++ SPECS/ConsoleKit.spec	Fri Jan 25 23:45:41 2008
@@ -106,6 +106,11 @@
 %clean
 rm -rf $RPM_BUILD_ROOT
 
+# use triggerun not triggerpostun - old init script is needed to stop service
+%triggerun -- ConsoleKit < 0.2.4
+%service -q ConsoleKit stop
+/sbin/chkconfig --del ConsoleKit
+
 %post	libs -p /sbin/ldconfig
 %postun	libs -p /sbin/ldconfig
 
@@ -153,6 +158,9 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.13  2008-01-25 22:45:41  qboosh
+- trigger added
+
 Revision 1.12  2008-01-23 22:33:14  patrys
 - 0.2.4
 - started by DBus on demand
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/SPECS/ConsoleKit.spec?r1=1.12&r2=1.13&f=u



More information about the pld-cvs-commit mailing list