SPECS: munin.spec - rel 7 - fixed trigger
baggins
baggins at pld-linux.org
Mon Mar 16 21:52:45 CET 2009
Author: baggins Date: Mon Mar 16 20:52:45 2009 GMT
Module: SPECS Tag: HEAD
---- Log message:
- rel 7
- fixed trigger
---- Files affected:
SPECS:
munin.spec (1.70 -> 1.71)
---- Diffs:
================================================================
Index: SPECS/munin.spec
diff -u SPECS/munin.spec:1.70 SPECS/munin.spec:1.71
--- SPECS/munin.spec:1.70 Mon Mar 16 21:43:41 2009
+++ SPECS/munin.spec Mon Mar 16 21:52:39 2009
@@ -10,7 +10,7 @@
Summary(pl.UTF-8): Munin - agent danych RRD Linpro
Name: munin
Version: 1.3.4
-Release: 6
+Release: 7
License: GPL
Group: Applications/WWW
Source0: http://dl.sourceforge.net/munin/%{name}_%{version}.tar.gz
@@ -181,7 +181,12 @@
# rescue app config
if [ -f /etc/munin/munin.conf.rpmsave ]; then
mv -f %{_webapps}/%{_webapp}/munin.conf{,.rpmnew}
- mv -f /etc/munin/munin.conf.rpmsave %{_sysconfdir}/munin.conf
+ mv -f /etc/munin/munin.conf.rpmsave %{_webapps}/%{_webapp}/munin.conf
+
+ # fix paths in munin.conf
+ sed -i -e 's|dbdir.*|dbdir /var/lib/munin/db|' \
+ -e 's|tmpldir.*|tmpldir %{_webapps}/%{_webapp}/templates|' \
+ %{_webapps}/%{_webapp}/munin.conf
fi
# move RRDs to new location
cd /var/lib/munin
@@ -286,6 +291,10 @@
All persons listed below can be reached at <cvs_login>@pld-linux.org
$Log$
+Revision 1.71 2009/03/16 20:52:39 baggins
+- rel 7
+- fixed trigger
+
Revision 1.70 2009/03/16 20:43:41 glen
- NOOOOOOOOOOooooooooooo, do not use <= in triggers!!! (causes triggers ran every upgrade); rel 6
================================================================
---- CVS-web:
http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/SPECS/munin.spec?r1=1.70&r2=1.71&f=u
More information about the pld-cvs-commit
mailing list