summarylogtreecommitdiffstats
path: root/vidyodesktop.install
blob: faefd34397aeaff32573385fcb2da5c31f7ce0bf (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27

pre_install() {
  if test -f /opt/vidyo/VidyoDesktop/VidyoDesktop ; then
    killall VidyoDesktop 2>/dev/null
    sleep 1
  fi
}

post_install() {
  if test ! -f /usr/bin/pulseaudio ; then
    echo "Pulseaudio not detected - you may need to manually enable ALSA:"
    echo " export VIDYO_AUDIO_FRAMEWORK=ALSA"
  fi
  echo "Due to an issue with newer versions of Qt, VidyoDesktop crashes with a segfault error"
  echo "A workaround is to launch trayer before launching VidyoDesktop"
  echo "Thanks to zbraniecki for the workaround"
}

pre_upgrade() {
  pre_install
}

pre_remove() {
  pre_install
  rm -f /opt/vidyo/VidyoDesktop/lic/* 2>/dev/null
}