[media-sound/teamspeak-server-bin] hide more behind useflag, inifile handling got removed in last commit, so need some sanity at some point, add extra script for tsdns (we might need it at some point, who knows)

This commit is contained in:
2013-09-06 17:36:54 +02:00
parent bc6e6a6e52
commit 8554d0d224
3 changed files with 13 additions and 2 deletions

View File

@@ -46,6 +46,7 @@ src_install() {
exeinto /usr/sbin
doexe "${FILESDIR}"/ts3server
use tsdns && doexe "${FILESDIR}"/tsdnsserver
exeinto ${opt_dir}
doexe *.sh
@@ -75,7 +76,7 @@ src_install() {
# Install the init script and systemd unit.
newinitd "${FILESDIR}"/${PN}.rc teamspeak3-server
newinitd "${FILESDIR}/teamspeak-tsdns-server.rc" teamspeak3-tsdns-server
use tsdns && newinitd "${FILESDIR}/teamspeak-tsdns-server.rc" teamspeak3-tsdns-server
systemd_dounit "${FILESDIR}"/systemd/teamspeak3.service
systemd_dotmpfilesd "${FILESDIR}"/systemd/teamspeak3.conf