aboutsummaryrefslogtreecommitdiff
path: root/zoom-firejail/zoom-firejail.install
diff options
context:
space:
mode:
authorXiao Pan <gky44px1999@gmail.com>2023-01-30 14:05:06 -0800
committerXiao Pan <gky44px1999@gmail.com>2023-01-30 14:05:06 -0800
commit856d499a522a3113394fae8521d7872c21d5bf9b (patch)
tree4b07ff683e7f9c491b2ee93f3fbbdc57e4d4880a /zoom-firejail/zoom-firejail.install
parentcd4c514d719af1f6e5d5a50ec472303fc167de50 (diff)
parent819af70c238cb8f51ecda83e035a347d1c0b326e (diff)
Add 'zoom-firejail/' from commit '819af70c238cb8f51ecda83e035a347d1c0b326e'
git-subtree-dir: zoom-firejail git-subtree-mainline: cd4c514d719af1f6e5d5a50ec472303fc167de50 git-subtree-split: 819af70c238cb8f51ecda83e035a347d1c0b326e
Diffstat (limited to 'zoom-firejail/zoom-firejail.install')
-rw-r--r--zoom-firejail/zoom-firejail.install16
1 files changed, 16 insertions, 0 deletions
diff --git a/zoom-firejail/zoom-firejail.install b/zoom-firejail/zoom-firejail.install
new file mode 100644
index 0000000..02a750c
--- /dev/null
+++ b/zoom-firejail/zoom-firejail.install
@@ -0,0 +1,16 @@
+post_install() {
+ echo
+ echo "To configure your desktop environment to open Zoom links in Firejail, run:"
+ echo
+ for scheme in zoommtg zoomus tel callto zoomphonecall; do
+ echo "xdg-mime default ZoomFirejail.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
+}