aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--net-mgmt/cacti/pkg-plist2
-rw-r--r--net/cacti/pkg-plist2
2 files changed, 2 insertions, 2 deletions
diff --git a/net-mgmt/cacti/pkg-plist b/net-mgmt/cacti/pkg-plist
index b48a73104b27..756ac6d9c830 100644
--- a/net-mgmt/cacti/pkg-plist
+++ b/net-mgmt/cacti/pkg-plist
@@ -336,7 +336,7 @@
%%CACTIDIR%%/lib/utility.php
%%CACTIDIR%%/lib/variables.php
%%CACTIDIR%%/lib/xml.php
-@unexec [ ! -s %%CACTIDIR%%/log/cacti.log ] && rm %%CACTIDIR%%/log/cacti.log
+@unexec [ ! -s %%PREFIX%%/%%CACTIDIR%%/log/cacti.log ] && rm -f %%PREFIX%%/%%CACTIDIR%%/log/cacti.log
%%CACTIDIR%%/logout.php
%%PLUGIN%%%%CACTIDIR%%/plugins/index.php
%%CACTIDIR%%/poller.php
diff --git a/net/cacti/pkg-plist b/net/cacti/pkg-plist
index b48a73104b27..756ac6d9c830 100644
--- a/net/cacti/pkg-plist
+++ b/net/cacti/pkg-plist
@@ -336,7 +336,7 @@
%%CACTIDIR%%/lib/utility.php
%%CACTIDIR%%/lib/variables.php
%%CACTIDIR%%/lib/xml.php
-@unexec [ ! -s %%CACTIDIR%%/log/cacti.log ] && rm %%CACTIDIR%%/log/cacti.log
+@unexec [ ! -s %%PREFIX%%/%%CACTIDIR%%/log/cacti.log ] && rm -f %%PREFIX%%/%%CACTIDIR%%/log/cacti.log
%%CACTIDIR%%/logout.php
%%PLUGIN%%%%CACTIDIR%%/plugins/index.php
%%CACTIDIR%%/poller.php