diff options
author | marino <marino@FreeBSD.org> | 2014-08-14 23:20:29 +0800 |
---|---|---|
committer | marino <marino@FreeBSD.org> | 2014-08-14 23:20:29 +0800 |
commit | e982a492ce05dfdbb9c69236fb4d2eb1b2a9218c (patch) | |
tree | 34d5a1fd442aa0c9d825e6fe07c0a6fd00e1739d /www/autoindex2 | |
parent | 37c9911d4d5f39ed2733d4918209d53d9af24bfe (diff) | |
download | freebsd-ports-gnome-e982a492ce05dfdbb9c69236fb4d2eb1b2a9218c.tar.gz freebsd-ports-gnome-e982a492ce05dfdbb9c69236fb4d2eb1b2a9218c.tar.zst freebsd-ports-gnome-e982a492ce05dfdbb9c69236fb4d2eb1b2a9218c.zip |
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.
Diffstat (limited to 'www/autoindex2')
-rw-r--r-- | www/autoindex2/pkg-plist | 4 |
1 files changed, 1 insertions, 3 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 |