3
0
Fork 0
forked from mirrors/nixpkgs

teamviewer: fix wrong in sed usage

This commit is contained in:
Guillaume Maudoux 2016-02-20 14:02:38 +01:00
parent 13b416765d
commit 9eb6372c6b

View file

@ -52,7 +52,7 @@ stdenv.mkDerivation {
${if stdenv.system == "x86_64-linux" then ''
sed -i "s,TV_LD64_PATH=.*,TV_LD64_PATH=$(cat ${ld64})," script/tvw_config
'' else ''
sed -i ",TV_LD64_PATH=.*,d" script/tvw_config
sed -i "/TV_LD64_PATH=.*/d" script/tvw_config
''}
sed -i "s,/opt/teamviewer,$out/share/teamviewer,g" desktop/teamviewer-*.desktop