summaryrefslogtreecommitdiff
path: root/config/chroot_local-hooks
diff options
context:
space:
mode:
authorJoerg Schirottke <master@kanotix.com>2014-02-10 17:54:55 +0100
committerHolger Paradies <retabell@gmx.de>2014-02-11 16:25:40 +0100
commit09d08a1e1f785fe35f5a69cb89929ac8a57f61a8 (patch)
tree226a097561c0ac93ba659ed95edd2699cedc1328 /config/chroot_local-hooks
parentb8131aa60b2536996c40d1b97a8d1d9a2c061f3f (diff)
downloadkanotix-09d08a1e1f785fe35f5a69cb89929ac8a57f61a8.zip
kanotix-09d08a1e1f785fe35f5a69cb89929ac8a57f61a8.tar.gz
update teamviewer hook for wheezy and version 9
Diffstat (limited to 'config/chroot_local-hooks')
-rwxr-xr-xconfig/chroot_local-hooks/teamviewer6
1 files changed, 1 insertions, 5 deletions
diff --git a/config/chroot_local-hooks/teamviewer b/config/chroot_local-hooks/teamviewer
index c6ce343..b6384c2 100755
--- a/config/chroot_local-hooks/teamviewer
+++ b/config/chroot_local-hooks/teamviewer
@@ -2,11 +2,7 @@
for file in /root/config/*; do [ -r $file ] && . $file; done
echo "$LB_PACKAGE_LISTS" | grep -qw teamviewer || exit 0
TMP=$(mktemp -d /tmp/teamviewer.XXXXXX)
-if [ "$LB_ARCHITECTURE" = "amd64" ]; then
-wget -NP $TMP "http://www.teamviewer.com/download/teamviewer_linux_x64.deb"
-else
wget -NP $TMP "http://www.teamviewer.com/download/teamviewer_linux.deb"
-fi
dpkg -i $TMP/*.deb
apt-get update
DEBIAN_FRONTEND=noninteractive apt-get -f -y install
@@ -14,7 +10,7 @@ rm -rf $TMP
/etc/init.d/teamviewerd stop || :
killall teamviewerd || :
while sleep 1; do pidof teamviewerd >/dev/null || break; done
-cat <<"EOF" >/opt/teamviewer8/config/global.conf
+cat <<"EOF" >/opt/teamviewer9/config/global.conf
TeamViewer Global Settings
# It is not recommended to edit this file manually