[packages/cacti] - rel 2; typo fixed

arekm arekm at pld-linux.org
Tue Oct 20 10:18:53 CEST 2020


commit f30e735ca603656c955b215d3f38889492524975
Author: Arkadiusz Miśkiewicz <arekm at maven.pl>
Date:   Tue Oct 20 10:18:47 2020 +0200

    - rel 2; typo fixed

 cacti-webroot.patch | 2 +-
 cacti.spec          | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/cacti.spec b/cacti.spec
index ad21bf3..e4dd18e 100644
--- a/cacti.spec
+++ b/cacti.spec
@@ -4,7 +4,7 @@ Summary:	Cacti is a PHP frontend for rrdtool
 Summary(pl.UTF-8):	Cacti - frontend w PHP do rrdtoola
 Name:		cacti
 Version:	1.2.14
-Release:	1
+Release:	2
 License:	GPL v2
 Group:		Applications/WWW
 Source0:	http://www.cacti.net/downloads/%{name}-%{version}.tar.gz
diff --git a/cacti-webroot.patch b/cacti-webroot.patch
index c87b719..793cd59 100644
--- a/cacti-webroot.patch
+++ b/cacti-webroot.patch
@@ -5,7 +5,7 @@
  	$last_host         = 0;
  	$rrds_processed    = 0;
 -	$webroot           = addslashes(($config['cacti_server_os'] == 'win32') ? strtr(strtolower(substr(dirname(__FILE__), 0, 1)) . substr(dirname(__FILE__), 1),"\\", '/') : dirname(__FILE__));
-+	$webroot = $config['base_path';
++	$webroot = $config['base_path'];
  
  	// update web paths for the poller
  	set_config_option('path_webroot', $webroot);
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/cacti.git/commitdiff/f30e735ca603656c955b215d3f38889492524975



More information about the pld-cvs-commit mailing list