1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-02-03 11:12:13 +00:00

Convert to @sample

This commit is contained in:
Baptiste Daroussin 2015-09-24 23:07:02 +00:00
parent fa3feeb03b
commit 671c24a36e
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=397787
4 changed files with 4 additions and 12 deletions

View File

@ -1,6 +1,4 @@
@unexec if cmp -s %D/etc/supervisord.conf.sample %D/etc/supervisord.conf; then rm -f %D/etc/supervisord.conf; fi
etc/supervisord.conf.sample
@exec if [ ! -f %D/etc/supervisord.conf ]; then cp %D/etc/supervisord.conf.sample %D/etc/supervisord.conf; fi
@sample etc/supervisord.conf.sample
@exec mkdir -p %%PIDDIR%%
@unexec echo "=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-="
@unexec echo "If you are permanently removing py-supervisor, you should also:" | /usr/bin/fmt

View File

@ -1,4 +1,2 @@
bin/cgichk
@unexec if cmp -s %D/etc/cgichk.cfg %D/etc/cgichk.cfg.sample; then rm -f %D/etc/cgichk.cfg; fi
etc/cgichk.cfg.sample
@exec if [ ! -f %B/cgichk.cfg ]; then cp -p %B/%f %B/cgichk.cfg; fi
@sample etc/cgichk.cfg.sample

View File

@ -1,7 +1,5 @@
@comment .htaccess when used can contain a lot of customizations
@unexec if cmp -s %D/%%MAGENTODIR%%/.htaccess %D/%%MAGENTODIR%%/.htaccess.sample; then rm -f %D/%%MAGENTODIR%%/.htaccess; fi
%%MAGENTODIR%%/.htaccess.sample
@exec if [ ! -f %D/%%MAGENTODIR%%/.htaccess ]; then cp -p %D/%F %B/.htaccess; fi
@sample %%MAGENTODIR%%/.htaccess.sample
%%MAGENTODIR%%/LICENSE.html
%%MAGENTODIR%%/LICENSE.txt
%%MAGENTODIR%%/LICENSE_AFL.txt

View File

@ -296,9 +296,7 @@
%%WWWDIR%%/classes/xml/XMLNode.inc.php
%%WWWDIR%%/classes/xml/XMLParser.inc.php
%%WWWDIR%%/classes/xml/XMLParserDOMHandler.inc.php
@unexec if cmp -s %D/%%WWWDIR%%/config.inc.php.sample %D/%%WWWDIR%%/config.inc.php; then rm -f %D/%%WWWDIR%%/config.inc.php; else %%ECHO_MSG%% "===> Customized %D/%%WWWDIR%%/config.inc.php has not been removed"; fi
%%WWWDIR%%/config.inc.php.sample
@exec if [ ! -f %D/%%WWWDIR%%/config.inc.php ]; then cp -p %D/%F %B/config.inc.php; else %%ECHO_MSG%% "===> Customized %D/%%WWWDIR%%/config.inc.php has not been overwritten"; fi
@sample %%WWWDIR%%/config.inc.php.sample
%%WWWDIR%%/dbscripts/xml/data/email_templates.xml
%%WWWDIR%%/dbscripts/xml/data/locale/de_DE/email_templates_data.xml
%%WWWDIR%%/dbscripts/xml/data/locale/el_GR/email_templates_data.xml