summarylogtreecommitdiffstats
path: root/zoom-firejail.install
blob: 02a750cf617d43f68036d9e3d7d11f0ed57ec33b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
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
}