diff options
author | thierry <thierry@FreeBSD.org> | 2015-03-01 22:50:28 +0800 |
---|---|---|
committer | thierry <thierry@FreeBSD.org> | 2015-03-01 22:50:28 +0800 |
commit | df35e5e0eab41bdfc6667be60284f624ca3b376e (patch) | |
tree | 4f7b0841c74ef03e524a96db0e7f7adbe84d1e86 /www | |
parent | 39e0859e3631b2f4c8a0002edc7c3a155adf1551 (diff) | |
download | freebsd-ports-gnome-df35e5e0eab41bdfc6667be60284f624ca3b376e.tar.gz freebsd-ports-gnome-df35e5e0eab41bdfc6667be60284f624ca3b376e.tar.zst freebsd-ports-gnome-df35e5e0eab41bdfc6667be60284f624ca3b376e.zip |
Changed config.php-dist into config.php.sample.
PR: ports/197045
Submitted by: yuri (at) rawbw.com
Diffstat (limited to 'www')
-rw-r--r-- | www/tt-rss/Makefile | 3 | ||||
-rw-r--r-- | www/tt-rss/pkg-plist | 6 |
2 files changed, 6 insertions, 3 deletions
diff --git a/www/tt-rss/Makefile b/www/tt-rss/Makefile index acd2e20a3378..6b1d8875fe6e 100644 --- a/www/tt-rss/Makefile +++ b/www/tt-rss/Makefile @@ -94,4 +94,7 @@ do-install: ${TOUCH} ${STAGEDIR}${WWWDIR}/icons/.empty ${INSTALL_DATA} ${WRKDIR}/httpd-tt-rss.conf ${STAGEDIR}${DATADIR} +post-install: + ${MV} ${STAGEDIR}${WWWDIR}/config.php-dist ${STAGEDIR}${WWWDIR}/config.php.sample + .include <bsd.port.mk> diff --git a/www/tt-rss/pkg-plist b/www/tt-rss/pkg-plist index 9bd655029d47..5cc2c01572e7 100644 --- a/www/tt-rss/pkg-plist +++ b/www/tt-rss/pkg-plist @@ -53,7 +53,9 @@ %%WWWDIR%%/classes/pref/users.php %%WWWDIR%%/classes/rpc.php %%WWWDIR%%/classes/ttrssmailer.php -%%WWWDIR%%/config.php-dist +@mode 0400 +@sample %%WWWDIR%%/config.php.sample +@mode %%WWWDIR%%/css/cdm.css %%WWWDIR%%/css/dijit.css %%WWWDIR%%/css/layout.css @@ -2392,8 +2394,6 @@ %%WWWDIR%%/themes/.empty %%WWWDIR%%/themes/default.css %%WWWDIR%%/themes/night.css -@exec [ -f %B/config.php ] || (cp %D/%F %B/config.php && chmod go-r %B/config.php && chown %%WWWOWN%% %B/config.php) -@unexec if cmp -s %D/%%WWWDIR%%/config.php %D/%%WWWDIR%%/config.php-dist; then rm -f %D/%%WWWDIR%%/config.php; fi @mode u=rx %%WWWDIR%%/update.php %%WWWDIR%%/update_daemon2.php |