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 | 8ec046de9a344f59bde6ffa941362bc7e1bf67f8 (patch) | |
tree | 30d922cd6c460fdf17b9fd87a54c591c0b1baa56 /any/zoom-firejail/zoom-firejail.install | |
parent | 14efa448cca98764d0f7af9a06cd7cb5500762f9 (diff) | |
parent | 240d90c357148d228f209663768799b3d4e750d8 (diff) |
Merge commit '240d90c357148d228f209663768799b3d4e750d8' as 'any/zoom-firejail'
Diffstat (limited to 'any/zoom-firejail/zoom-firejail.install')
-rw-r--r-- | any/zoom-firejail/zoom-firejail.install | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/any/zoom-firejail/zoom-firejail.install b/any/zoom-firejail/zoom-firejail.install new file mode 100644 index 0000000..02a750c --- /dev/null +++ b/any/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 +} |