aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--www/autoindex2/pkg-plist4
-rw-r--r--www/phpbb3/pkg-plist4
2 files changed, 2 insertions, 6 deletions
diff --git a/www/autoindex2/pkg-plist b/www/autoindex2/pkg-plist
index c6f6c1245a48..90493fc43168 100644
--- a/www/autoindex2/pkg-plist
+++ b/www/autoindex2/pkg-plist
@@ -3,9 +3,7 @@
@mode 644
%%INSTALLDIR%%/.htpasswd.autoindex.sample
@mode 664
-@unexec if cmp -s %D/%%INSTALLDIR%%/config.php.sample %D/%%INSTALLDIR%%/config.php; then rm -f %D/%%INSTALLDIR%%/config.php; fi
-%%INSTALLDIR%%/config.php.sample
-@exec if [ ! -f %D/%%INSTALLDIR%%/config.php ] ; then cp -p %D/%F %B/config.php; fi
+@sample %%INSTALLDIR%%/config.php.sample
@mode
%%INSTALLDIR%%/hidden_files
%%INSTALLDIR%%/change_log.html
diff --git a/www/phpbb3/pkg-plist b/www/phpbb3/pkg-plist
index 9334955da49e..f459b23bd14e 100644
--- a/www/phpbb3/pkg-plist
+++ b/www/phpbb3/pkg-plist
@@ -131,9 +131,7 @@
%%PHPBBDIR%%/cache/.htaccess
%%PHPBBDIR%%/cache/index.htm
%%PHPBBDIR%%/common.php
-@unexec if cmp -s %D/%%PHPBBDIR%%/config.php.sample %D/%%PHPBBDIR%%/config.php; then rm -f %D/%%PHPBBDIR%%/config.php; fi
-%%PHPBBDIR%%/config.php.sample
-@exec if [ ! -f %D/%%PHPBBDIR%%/config.php ] ; then cp -p %D/%F %B/config.php; fi
+@sample %%PHPBBDIR%%/config.php.sample
%%PHPBBDIR%%/cron.php
%%PHPBBDIR%%/docs/AUTHORS
%%PHPBBDIR%%/docs/CHANGELOG.html