aboutsummaryrefslogtreecommitdiffstats
path: root/net/cacti
diff options
context:
space:
mode:
authorsem <sem@FreeBSD.org>2005-06-21 19:29:52 +0800
committersem <sem@FreeBSD.org>2005-06-21 19:29:52 +0800
commitae6b23068825208a34ff3827dc23b8d7d687dc83 (patch)
tree341350b3d447c5d6265e56b847e295ba252d4a03 /net/cacti
parentfd30364287358f74af81cd1b4efae499788b3a0e (diff)
downloadfreebsd-ports-gnome-ae6b23068825208a34ff3827dc23b8d7d687dc83.tar.gz
freebsd-ports-gnome-ae6b23068825208a34ff3827dc23b8d7d687dc83.tar.zst
freebsd-ports-gnome-ae6b23068825208a34ff3827dc23b8d7d687dc83.zip
- Invert condition in pkg-plist.
An user config file was owerwritten with this typo.
Diffstat (limited to 'net/cacti')
-rw-r--r--net/cacti/pkg-plist2
1 files changed, 1 insertions, 1 deletions
diff --git a/net/cacti/pkg-plist b/net/cacti/pkg-plist
index e978a042c74d..ee01bfcecbad 100644
--- a/net/cacti/pkg-plist
+++ b/net/cacti/pkg-plist
@@ -128,7 +128,7 @@
%%CACTIDIR%%/include/bottom_footer.php
@unexec cmp -s %D/%%CACTIDIR%%/include/config.php.orig %D/%%CACTIDIR%%/include/config.php && rm -f %D/%%CACTIDIR%%/include/config.php
%%CACTIDIR%%/include/config.php.orig
-@exec [ -f %D/%%CACTIDIR%%/include/config.php ] || cp %D/%%CACTIDIR%%/include/config.php.orig %D/%%CACTIDIR%%/include/config.php
+@exec [ ! -f %D/%%CACTIDIR%%/include/config.php ] || cp %D/%%CACTIDIR%%/include/config.php.orig %D/%%CACTIDIR%%/include/config.php
%%CACTIDIR%%/include/config_arrays.php
%%CACTIDIR%%/include/config_constants.php
%%CACTIDIR%%/include/config_form.php