aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBeech Rintoul <beech@FreeBSD.org>2010-11-30 21:54:38 +0000
committerBeech Rintoul <beech@FreeBSD.org>2010-11-30 21:54:38 +0000
commit027db4c82af173c2382c05c9c834c8c43108fe77 (patch)
tree84d10a25f3b4f26c221832552863579e1e04702d
parentec068156b44776b21059ed881e7d34f54202cfdb (diff)
downloadports-027db4c82af173c2382c05c9c834c8c43108fe77.tar.gz
ports-027db4c82af173c2382c05c9c834c8c43108fe77.zip
Fix issue - port upgrade deletes config
PR: ports/152535 Submitted by: Lukasz Wasikowski (lukasz@wasikowski.net) Approved by: Bo-Yi Wu (appleboy.tw@gmail.com) (maintainer) itetcu (implicit)
Notes
Notes: svn path=/head/; revision=265471
-rw-r--r--www/phpbb3/pkg-plist3
1 files changed, 2 insertions, 1 deletions
diff --git a/www/phpbb3/pkg-plist b/www/phpbb3/pkg-plist
index 58a61d4ef04b..41c796cc79c5 100644
--- a/www/phpbb3/pkg-plist
+++ b/www/phpbb3/pkg-plist
@@ -128,7 +128,6 @@
%%PHPBBDIR%%/cache/.htaccess
%%PHPBBDIR%%/cache/index.htm
%%PHPBBDIR%%/common.php
-%%PHPBBDIR%%/config.php
%%PHPBBDIR%%/cron.php
%%PHPBBDIR%%/docs/AUTHORS
%%PHPBBDIR%%/docs/CHANGELOG.html
@@ -962,6 +961,8 @@
%%PHPBBDIR%%/viewonline.php
%%PHPBBDIR%%/viewtopic.php
%%PHPBBDIR%%/web.config
+@exec [ -f %D/%%PHPBBDIR%%/config.php ] || touch %D/%%PHPBBDIR%%/config.php
+@unexec [ -s %D/%%PHPBBDIR%%/config.php ] || rm -f %D/%%PHPBBDIR%%/config.php
@dirrm %%PHPBBDIR%%/styles/subsilver2/theme/images
@dirrm %%PHPBBDIR%%/styles/subsilver2/theme
@dirrm %%PHPBBDIR%%/styles/subsilver2/template