summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorsem <sem@FreeBSD.org>2006-08-07 20:16:19 +0000
committersem <sem@FreeBSD.org>2006-08-07 20:16:19 +0000
commitd2047888f5d74fea3e2ecc4388e1554976371d8a (patch)
tree709eedec004780f380d40f9f37bd7d61ac5662e6
parent2ae3afcbbf96d4d9c56ba3251df24276bf3af522 (diff)
downloadFreeBSD-ports-d2047888f5d74fea3e2ecc4388e1554976371d8a.zip
FreeBSD-ports-d2047888f5d74fea3e2ecc4388e1554976371d8a.tar.gz
- Add forgotten %%PREFIX%% to @unexec command in pkg-plist.
Reported by: kris mail
-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 b48a731..756ac6d 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 b48a731..756ac6d 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
OpenPOWER on IntegriCloud