SPECS: cacti.spec - /usr/share/cacti/rra -> /var/lib/cacti/rra for broken i...

grzegorz grzegorz at pld-linux.org
Mon Nov 3 09:30:38 CET 2008


Author: grzegorz                     Date: Mon Nov  3 08:30:38 2008 GMT
Module: SPECS                         Tag: HEAD
---- Log message:
- /usr/share/cacti/rra -> /var/lib/cacti/rra for broken installations.

---- Files affected:
SPECS:
   cacti.spec (1.97 -> 1.98) 

---- Diffs:

================================================================
Index: SPECS/cacti.spec
diff -u SPECS/cacti.spec:1.97 SPECS/cacti.spec:1.98
--- SPECS/cacti.spec:1.97	Thu Oct 30 08:20:00 2008
+++ SPECS/cacti.spec	Mon Nov  3 09:30:32 2008
@@ -162,6 +162,10 @@
 cp -a %{SOURCE4} $RPM_BUILD_ROOT%{_sysconfdir}/httpd.conf
 cp -a %{SOURCE5} $RPM_BUILD_ROOT%{_sysconfdir}/lighttpd.conf
 
+# This is for backward compatibility with broken installations.
+# Such installations should be repaired by cacti-rrdpath.sql.
+ln -sf /var/lib/%{name}/rra $RPM_BUILD_ROOT%{webadminroot}/rra
+
 %clean
 rm -rf $RPM_BUILD_ROOT
 
@@ -248,6 +252,9 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.98  2008/11/03 08:30:32  grzegorz
+- /usr/share/cacti/rra -> /var/lib/cacti/rra for broken installations.
+
 Revision 1.97  2008/10/30 07:20:00  arekm
 - revert
 
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/SPECS/cacti.spec?r1=1.97&r2=1.98&f=u



More information about the pld-cvs-commit mailing list