diff --git a/files/0001-Fix-error-when-starting-with-symlink.patch b/files/0001-Fix-error-when-starting-with-symlink.patch new file mode 100644 --- /dev/null +++ b/files/0001-Fix-error-when-starting-with-symlink.patch @@ -0,0 +1,24 @@ +From 1da17db6049adea06fe39076c3ffd875557e2b48 Mon Sep 17 00:00:00 2001 +From: Philipp Trulson +Date: Fri, 9 Feb 2018 10:18:14 +0100 +Subject: [PATCH] Fix error when starting with symlink + +--- + ts3client_runscript.sh | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +diff --git a/ts3client_runscript.sh b/ts3client_runscript.sh +index 723c792..721eb74 100755 +--- a/ts3client_runscript.sh ++++ b/ts3client_runscript.sh +@@ -1,6 +1,6 @@ + #!/bin/bash + +-cd "$(dirname "${BASH_SOURCE[0]}")" ++cd "$(dirname "$(readlink -f "${BASH_SOURCE[0]}")")" + + #If the bundled openssl is used, the app needs to find out where the CA certs + #are located. This needs to be done with the help of openssl installed on the +-- +2.16.1 + diff --git a/package.yml b/package.yml --- a/package.yml +++ b/package.yml @@ -1,8 +1,8 @@ name : teamspeak3 -version : 3.1.7 -release : 10 +version : 3.1.8 +release : 11 source : - - http://dl.4players.de/ts/releases/3.1.7/TeamSpeak3-Client-linux_amd64-3.1.7.run : d68d30062dc026c363a24e83f35810431f7a9cf177a81ce084379e55000282f3 + - http://dl.4players.de/ts/releases/3.1.8/TeamSpeak3-Client-linux_amd64-3.1.8.run : dfbc3f3864f62546e5f3451f54003588b41e35a50b34afc6140fd3e974385b79 license : Distributable # See files/Redistribution.eml extract : no strip : no @@ -26,7 +26,9 @@ cp $sources/* $workdir/ sed -i -e 's|^MS_PrintLicense$||g' TeamSpeak3-Client-linux_amd64-$version.run build : | - bash TeamSpeak3-Client-linux_amd64-$version.run --target $installdir/usr/share/teamspeak3 + bash TeamSpeak3-Client-linux_amd64-$version.run --noexec --target $installdir/usr/share/teamspeak3 + cd $installdir/usr/share/teamspeak3 + %patch < $pkgfiles/0001-Fix-error-when-starting-with-symlink.patch install : | install -dm0755 $installdir/usr/bin install -Dm00644 $pkgfiles/teamspeak3.desktop $installdir/usr/share/applications/teamspeak3.desktop diff --git a/pspec_x86_64.xml b/pspec_x86_64.xml --- a/pspec_x86_64.xml +++ b/pspec_x86_64.xml @@ -25,12 +25,12 @@ - - 2017-12-16 - 3.1.7 + + 2018-02-09 + 3.1.8 Packaging update Philipp Trulson philipp@trulson.de \ No newline at end of file