[teamspeak-server-bin] fix init script installation

This commit is contained in:
Robert Förster 2015-03-31 10:12:25 +02:00
parent 9c6941f765
commit c51ceb4c5c

View File

@ -42,16 +42,15 @@ pkg_setup() {
} }
src_install() { src_install() {
# Install TeamSpeak 3 server into /opt/teamspeak3-server.
local opt_dir="/opt/teamspeak3-server"
into ${opt_dir}
insinto ${opt_dir}
# Install binary, wrapper, shell files and libraries. # Install binary, wrapper, shell files and libraries.
newsbin ts3server_linux_${ARCH} ts3server-bin newsbin ts3server_linux_${ARCH} ts3server-bin
dosbin "${FILESDIR}"/ts3server dosbin "${FILESDIR}"/ts3server
# Install TeamSpeak 3 server into /opt/teamspeak3-server.
local opt_dir="/opt/teamspeak3-server"
into ${opt_dir}
insinto ${opt_dir}
exeinto ${opt_dir} exeinto ${opt_dir}
doexe *.sh doexe *.sh
doins *.so doins *.so