1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-21 00:25:50 +00:00

Use @sample keyword on two ports I thought couldn't use it

Possible due to extreme sleep deprivation, I was confused about the
limitations of the @sample keyword.  The two www ports I modified last
night, phpbb3 and autoindex2, both could use @sample with config.php,
so go back and clean up my own mess.  No revbump necessary as this is
functionally equivalent to what is there now.
This commit is contained in:
John Marino 2014-08-14 15:20:29 +00:00
parent 2e6a4b588e
commit bb5fd13d53
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=364850
2 changed files with 2 additions and 6 deletions

View File

@ -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

View File

@ -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