diff options
author | Xiao Pan <gky44px1999@gmail.com> | 2023-01-27 15:09:36 -0800 |
---|---|---|
committer | Xiao Pan <gky44px1999@gmail.com> | 2023-01-27 15:09:36 -0800 |
commit | 240d90c357148d228f209663768799b3d4e750d8 (patch) | |
tree | 2b5e4f54daf7ea85364c46150836c823662eac68 /zoom-firejail.install |
Squashed 'any/zoom-firejail/' content from commit 1bdafa9
git-subtree-dir: any/zoom-firejail
git-subtree-split: 1bdafa9bd8815433ebaedf64cc4f93f104b0b440
Diffstat (limited to 'zoom-firejail.install')
-rw-r--r-- | zoom-firejail.install | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/zoom-firejail.install b/zoom-firejail.install new file mode 100644 index 0000000..02a750c --- /dev/null +++ b/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 +} |