upstream changed tsdns naming. yay.

This commit is contained in:
Robert Förster 2013-05-11 05:23:00 +02:00
parent 9dab0d6d76
commit 48bbf09216
2 changed files with 7 additions and 1 deletions

View File

@ -13,7 +13,7 @@ start() {
start-stop-daemon --start --quiet --background \
--pidfile "/var/run/teamspeak3-server/tsdns.pid" --make-pidfile \
--user "teamspeak3" --chdir "/opt/teamspeak3-server/tsdns" \
--exec "/opt/teamspeak3-server/tsdns/tsdnsserver"
--exec "/opt/teamspeak3-server/tsdns/tsdnsserver_linux"
eend $?
}

View File

@ -46,6 +46,12 @@ src_install() {
exeinto /usr/sbin
doexe "${FILESDIR}/ts3server"
# Symlink tsdns somewhere useful
if use amd64 ; then
dosym "${D}"/opt/teamspeak3-server/tsdns/tsdnsserver_linux /opt/teamspeak3-server/tsdns/tsdnsserver_linux_amd64
elif use x86 ; then
dosym "${D}"/opt/teamspeak3-server/tsdns/tsdnsserver_linux /opt/teamspeak3-server/tsdns/tsdnsserver_linux_x86
fi
# Install the runtime FS layout.
insinto /etc/teamspeak3-server
doins "${FILESDIR}/server.conf"