SPECS: incron.spec - pre/post fixed

blues blues at pld-linux.org
Tue Dec 2 17:10:58 CET 2008


Author: blues                        Date: Tue Dec  2 16:10:58 2008 GMT
Module: SPECS                         Tag: HEAD
---- Log message:
- pre/post fixed

---- Files affected:
SPECS:
   incron.spec (1.1 -> 1.2) 

---- Diffs:

================================================================
Index: SPECS/incron.spec
diff -u SPECS/incron.spec:1.1 SPECS/incron.spec:1.2
--- SPECS/incron.spec:1.1	Tue Dec  2 16:57:01 2008
+++ SPECS/incron.spec	Tue Dec  2 17:10:53 2008
@@ -4,7 +4,7 @@
 Summary:	incron :: inotify cron system
 Name:		incron
 Version:	0.5.7
-Release:	0.1
+Release:	0.2
 License:	GPL v2/LGPL v2.1/BSD-like?
 Group:		Daemons
 Source0:	http://inotify.aiken.cz/download/incron/%{name}-%{version}.tar.bz2
@@ -60,13 +60,13 @@
 %useradd -u 134 -r -d /var/spool/cron -s /bin/false -c "crontab User" -g crontab crontab
 
 %post
-/sbin/chkconfig --add crond
-%service crond restart "Cron Daemon"
+/sbin/chkconfig --add %{name}
+%service %{name} restart "incron Daemon"
 
 %preun
 if [ "$1" = "0" ]; then
-	%service crond stop
-	/sbin/chkconfig --del crond
+	%service %{name} stop
+	/sbin/chkconfig --del %{name}
 fi
 
 %postun
@@ -93,6 +93,9 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.2  2008/12/02 16:10:53  blues
+- pre/post fixed
+
 Revision 1.1  2008/12/02 15:57:01  blues
 - initial
 
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/SPECS/incron.spec?r1=1.1&r2=1.2&f=u



More information about the pld-cvs-commit mailing list