diff --git a/media-sound/teamspeak-client-bin/files/teamspeak3 b/media-sound/teamspeak-client-bin/files/teamspeak3 new file mode 100644 index 0000000..d598f01 --- /dev/null +++ b/media-sound/teamspeak-client-bin/files/teamspeak3 @@ -0,0 +1,10 @@ +#! /bin/sh + +BASEDIR="/opt/teamspeak3-client" + +export LD_LIBRARY_PATH="${BASEDIR}${LD_LIBRARY_PATH:+:}${LD_LIBRARY_PATH}" + +# work around DT_RPATH (.) security issue by chdir'ing into expected $LD_LIBRARY_PATH +cd "${BASEDIR}" + +exec "${BASEDIR}/ts3client" "$@"