aboutsummaryrefslogtreecommitdiffstats
path: root/www
diff options
context:
space:
mode:
authorbeech <beech@FreeBSD.org>2010-12-01 05:54:38 +0800
committerbeech <beech@FreeBSD.org>2010-12-01 05:54:38 +0800
commitd2b705f9231a869e3e0d46ed85f3b19ad35e5407 (patch)
tree583c955dbf5da50bb9d544cf31054a2265f6c35e /www
parent1910f2d680e15878de97c7943d19d1bcb7790522 (diff)
downloadfreebsd-ports-graphics-d2b705f9231a869e3e0d46ed85f3b19ad35e5407.tar.gz
freebsd-ports-graphics-d2b705f9231a869e3e0d46ed85f3b19ad35e5407.tar.zst
freebsd-ports-graphics-d2b705f9231a869e3e0d46ed85f3b19ad35e5407.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)
Diffstat (limited to 'www')
-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 58a61d4ef04..41c796cc79c 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