mirror of
https://git.FreeBSD.org/ports.git
synced 2024-11-27 00:57:50 +00:00
- install rplayd.sh as rplayd.sh.sample
- better config file management PR: 35634 Submitted by: Alan Eldridge <ports@geeksrus.net>
This commit is contained in:
parent
295782276e
commit
1cfe1a79d1
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=59485
@ -32,12 +32,12 @@ post-install:
|
||||
.for info in ${INFO_FILES}
|
||||
@install-info ${PREFIX}/info/${info} ${PREFIX}/info/dir
|
||||
.endfor
|
||||
.if !exists(${PREFIX}/etc/rc.d/rplayd.sh)
|
||||
@${ECHO} "===> Installing ${PREFIX}/etc/rc.d/rplayd.sh startup file"
|
||||
@${INSTALL_SCRIPT} -m 751 ${FILESDIR}/rplayd.sh ${PREFIX}/etc/rc.d/rplayd.sh
|
||||
.endif
|
||||
@${ECHO} "===> Installing ${PREFIX}/etc/rc.d/rplayd.sh"
|
||||
@${ECHO} "===> startup file as ${PREFIX}/etc/rc.d/rplayd.sh.sample"
|
||||
@${INSTALL_SCRIPT} -m 751 ${FILESDIR}/rplayd.sh ${PREFIX}/etc/rc.d/rplayd.sh.sample
|
||||
.if !exists(${PREFIX}/etc/rplay.hosts)
|
||||
@${ECHO_CMD} localhost > ${PREFIX}/etc/rplay.hosts
|
||||
.endif
|
||||
@${ECHO_CMD} localhost > ${PREFIX}/etc/rplay.hosts.sample
|
||||
|
||||
.include <bsd.port.mk>
|
||||
|
@ -1,5 +1,7 @@
|
||||
etc/rc.d/rplayd.sh
|
||||
etc/rplay.hosts
|
||||
etc/rc.d/rplayd.sh.sample
|
||||
@unexec if cmp %D/etc/rplay.hosts.sample %D/etc/rplay.hosts 2>/dev/null; then rm -f %D/etc/rplay.hosts; fi
|
||||
etc/rplay.hosts.sample
|
||||
@exec if test ! -f %D/etc/rplay.hosts; then cp -p %D/etc/rplay.hosts.sample %D/etc/rplay.hosts; fi
|
||||
bin/rplay
|
||||
bin/rptp
|
||||
sbin/rplayd
|
||||
|
Loading…
Reference in New Issue
Block a user