- Switch to @sample

Approved by:	portmgr blanket
This commit is contained in:
Dmitry Marakasov 2015-08-30 10:51:47 +00:00
parent 206f6d865e
commit 44f5b91cc9
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=395612
2 changed files with 2 additions and 4 deletions

View file

@ -12,7 +12,7 @@ COMMENT= Free lightweight bittorrent tracker using libowfat
BUILD_DEPENDS= ${LOCALBASE}/lib/libowfat.a:${PORTSDIR}/devel/libowfat
USES= tar:bzip2
USES= tar:bzip2
USE_RC_SUBR= ${PORTNAME}
OPTIONS_DEFINE= COMPRESSION_GZIP DEBUG_HTTPERROR FULLSCRAPE RESTRICT_STATS IPV6

View file

@ -1,4 +1,2 @@
bin/opentracker
@unexec if cmp -s %D/%%ETCDIR%%/opentracker.conf.sample %D/%%ETCDIR%%/opentracker.conf; then rm -f %D/%%ETCDIR%%/opentracker.conf; fi
%%ETCDIR%%/opentracker.conf.sample
@exec cp -np %D/%F %B/opentracker.conf
@sample %%ETCDIR%%/opentracker.conf.sample