From ae6b23068825208a34ff3827dc23b8d7d687dc83 Mon Sep 17 00:00:00 2001 From: sem Date: Tue, 21 Jun 2005 11:29:52 +0000 Subject: - Invert condition in pkg-plist. An user config file was owerwritten with this typo. --- net/cacti/pkg-plist | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'net') 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 -- cgit v1.1