summaryrefslogtreecommitdiffstats
path: root/net
diff options
context:
space:
mode:
Diffstat (limited to 'net')
-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 e978a04..ee01bfc 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
OpenPOWER on IntegriCloud