SPECS: motion.spec - added %triggerpostun -- motion < 3.2.6

darekr darekr at pld-linux.org
Sun Aug 6 14:18:05 CEST 2006


Author: darekr                       Date: Sun Aug  6 12:18:05 2006 GMT
Module: SPECS                         Tag: HEAD
---- Log message:
- added %triggerpostun -- motion < 3.2.6

---- Files affected:
SPECS:
   motion.spec (1.36 -> 1.37) 

---- Diffs:

================================================================
Index: SPECS/motion.spec
diff -u SPECS/motion.spec:1.36 SPECS/motion.spec:1.37
--- SPECS/motion.spec:1.36	Sun May 14 20:57:15 2006
+++ SPECS/motion.spec	Sun Aug  6 14:18:00 2006
@@ -100,6 +100,12 @@
 	/sbin/chkconfig --del motion
 fi
 
+%triggerpostun -- motion < 3.2.6
+if [ -e /etc/motion.conf.rpmsave ]; then
+	cp /etc/motion/motion.conf /etc/motion/motion.conf.rpmnew
+	cp /etc/motion.conf.rpmsave /etc/motion/motion.conf
+fi
+
 %files
 %defattr(644,root,root,755)
 %doc CHANGELOG CREDITS FAQ README README.axis_2100 motion_guide.html *.conf motion.init-RH
@@ -120,6 +126,9 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.37  2006/08/06 12:18:00  darekr
+- added %triggerpostun -- motion < 3.2.6
+
 Revision 1.36  2006/05/14 18:57:15  darekr
 - added -config patch (move config file to /etc/motion dir)
 
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/SPECS/motion.spec?r1=1.36&r2=1.37&f=u



More information about the pld-cvs-commit mailing list