summarylogtreecommitdiffstats
path: root/teamviewer.install
blob: d21a86ab79a4a5bf7a0e4781e0f16ed1f2fed5eb (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
post_install() {
  echo "The Teamviewer daemon must be running for Teamviewer to work."
  echo "Execute 'sudo systemctl enable teamviewerd' in a terminal."
  sed -i 's/Exec=/Exec=env QT_QPA_PLATFORM="" /' "opt/teamviewer/tv_bin/desktop/com.teamviewer.TeamViewer.desktop"
  systemctl enable teamviewerd.service
  systemctl start teamviewerd.service
}

post_upgrade() {
  post_install
}

post_remove() {
  rm -rf /opt/teamviewer
}

# vim: ts=2 sw=2 et: