summarylogtreecommitdiffstats
path: root/zoom-firefox.install
diff options
context:
space:
mode:
Diffstat (limited to 'zoom-firefox.install')
-rw-r--r--zoom-firefox.install16
1 files changed, 16 insertions, 0 deletions
diff --git a/zoom-firefox.install b/zoom-firefox.install
new file mode 100644
index 00000000000..73b313fbb8c
--- /dev/null
+++ b/zoom-firefox.install
@@ -0,0 +1,16 @@
+post_install() {
+ echo
+ echo "To configure your desktop environment to open Zoom links in Firefox, run:"
+ echo
+ for scheme in zoommtg zoomus tel callto zoomphonecall; do
+ echo "xdg-mime default ZoomFirefox.desktop x-scheme-handler/$scheme"
+ done
+ echo
+}
+
+post_upgrade() {
+ # xdg-mime instructions added in 0.1.4
+ if [ $(vercmp $2 0.1.3) -le 0 ]; then
+ post_install
+ fi
+}