aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSergey Matveychuk <sem@FreeBSD.org>2005-06-21 11:29:52 +0000
committerSergey Matveychuk <sem@FreeBSD.org>2005-06-21 11:29:52 +0000
commitbcd17d1584a83585b120b8ffb9157f72b021fbd2 (patch)
treedd9a6dab83a67a2eff03148b000c83f704c65b40
parenteb4cb9e8ab7157352368b7125c1f197c333e8609 (diff)
downloadports-bcd17d1584a83585b120b8ffb9157f72b021fbd2.tar.gz
ports-bcd17d1584a83585b120b8ffb9157f72b021fbd2.zip
Notes
-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 e978a042c74d..ee01bfcecbad 100644
--- a/net-mgmt/cacti/pkg-plist
+++ b/net-mgmt/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
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