From 23bc212ff72f478ab7ca909333fb7a0a75a176e1 Mon Sep 17 00:00:00 2001 From: doktornotor Date: Fri, 11 Dec 2015 15:09:57 +0100 Subject: Don't create a symlink when it already exists --- config/sarg/sarg.inc | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/config/sarg/sarg.inc b/config/sarg/sarg.inc index 22e70c95..253dab9d 100644 --- a/config/sarg/sarg.inc +++ b/config/sarg/sarg.inc @@ -94,7 +94,9 @@ function sarg_check_dirs() { if (is_dir($pbidir) && !is_link($pbidir)) { rmdir_recursive($pbidir); } - symlink("/usr/local/sarg-reports", "{$pbidir}"); + if (!is_link($pbidir)) { + symlink("/usr/local/sarg-reports", "{$pbidir}"); + } } // images -- cgit v1.2.3 From ff4666ffb063ba97e5616134571a1d1580eecd0c Mon Sep 17 00:00:00 2001 From: doktornotor Date: Fri, 11 Dec 2015 15:10:54 +0100 Subject: Bump sarg package version --- pkg_config.10.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkg_config.10.xml b/pkg_config.10.xml index 40760f23..44b8c275 100644 --- a/pkg_config.10.xml +++ b/pkg_config.10.xml @@ -634,7 +634,7 @@ https://packages.pfsense.org/packages/config/sarg/sarg.xml https://forum.pfsense.org/index.php/topic,47765.0.html sarg-2.3.9-##ARCH##.pbi - 0.6.9 + 0.6.10 RELEASE 2.2 www -- cgit v1.2.3 From e6bd1660ea1a6cdce8adb55383dc9b0f6d31834e Mon Sep 17 00:00:00 2001 From: doktornotor Date: Fri, 11 Dec 2015 15:11:29 +0100 Subject: Bump sarg package version --- pkg_config.8.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkg_config.8.xml b/pkg_config.8.xml index 158cb027..3cc0a8f2 100644 --- a/pkg_config.8.xml +++ b/pkg_config.8.xml @@ -640,7 +640,7 @@ sarg-2.3.6_2.tbz gd-2.0.35_8,1.tbz sarg-2.3.6_2-i386.pbi - 2.3.6_2 pkg v0.6.9 + 2.3.6_2 pkg v0.6.10 Release 2.1 sarg.xml -- cgit v1.2.3 From 391b0167a2fd2a89ef7c1985ff677f87e1391f61 Mon Sep 17 00:00:00 2001 From: doktornotor Date: Fri, 11 Dec 2015 15:12:07 +0100 Subject: Bump sarg package version --- pkg_config.8.xml.amd64 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkg_config.8.xml.amd64 b/pkg_config.8.xml.amd64 index 8c7a21ee..134271d4 100644 --- a/pkg_config.8.xml.amd64 +++ b/pkg_config.8.xml.amd64 @@ -640,7 +640,7 @@ sarg-2.3.6_2.tbz gd-2.0.35_8,1.tbz sarg-2.3.6_2-amd64.pbi - 2.3.6_2 pkg v0.6.9 + 2.3.6_2 pkg v0.6.10 Release 2.1 sarg.xml -- cgit v1.2.3