Want more features on Pastebin? Sign Up, it's FREE!
Guest

teamviewer

By: a guest on Mar 13th, 2014  |  syntax: Bash  |  size: 0.32 KB  |  views: 265  |  expires: Never
download  |  raw  |  embed  |  report abuse  |  print
Text below is selected. Please press Ctrl+C to copy to your clipboard. (⌘+C on Mac)
  1. #!/bin/bash -e
  2.  
  3. if [[ ! -d $HOME/.teamviewer/teamviewer9 ]]; then
  4.         wget http://download.teamviewer.com/download/teamviewer_linux.tar.gz -O /tmp/teamviewer_linux.tar.gz
  5.         mkdir -p $HOME/.teamviewer
  6.         tar -xf /tmp/teamviewer_linux.tar.gz -C $HOME/.teamviewer
  7. fi
  8.  
  9. $HOME/.teamviewer/teamviewer9/teamviewer
clone this paste RAW Paste Data