diff options
author | B. Stack <bgstack15@gmail.com> | 2022-04-16 16:51:25 +0000 |
---|---|---|
committer | B. Stack <bgstack15@gmail.com> | 2022-04-16 16:51:25 +0000 |
commit | 4aa31a2f1a060439447f8de3b1674b6e0524c7e2 (patch) | |
tree | c6028dac4de4e3be8bfb49223ac931303e6c57d2 /librewolf/debian/browser.postinst.in | |
parent | Merge branch 'veracrypt-bump' into 'master' (diff) | |
parent | lw 98.0 stackrpms rc1 (diff) | |
download | stackrpms-4aa31a2f1a060439447f8de3b1674b6e0524c7e2.tar.gz stackrpms-4aa31a2f1a060439447f8de3b1674b6e0524c7e2.tar.bz2 stackrpms-4aa31a2f1a060439447f8de3b1674b6e0524c7e2.zip |
Merge branch 'librewolf-bump' into 'master'
librewolf 98
See merge request bgstack15/stackrpms!293
Diffstat (limited to 'librewolf/debian/browser.postinst.in')
-rw-r--r-- | librewolf/debian/browser.postinst.in | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/librewolf/debian/browser.postinst.in b/librewolf/debian/browser.postinst.in new file mode 100644 index 0000000..083aa70 --- /dev/null +++ b/librewolf/debian/browser.postinst.in @@ -0,0 +1,19 @@ +#!/bin/sh -e + +if [ "$1" = "configure" ] || [ "$1" = "abort-upgrade" ] ; then + update-alternatives --install /usr/bin/x-www-browser \ + x-www-browser /usr/bin/@browser@ 70 \ + --slave /usr/share/man/man1/x-www-browser.1.gz \ + x-www-browser.1.gz /usr/share/man/man1/@browser@.1.gz + update-alternatives --remove mozilla /usr/bin/@browser@ + update-alternatives --install /usr/bin/gnome-www-browser \ + gnome-www-browser /usr/bin/@browser@ 70 \ + --slave /usr/share/man/man1/gnome-www-browser.1.gz \ + gnome-www-browser.1.gz /usr/share/man/man1/@browser@.1.gz +fi + +if [ "$1" = "configure" ] ; then + rm -rf /usr/lib/@browser@/updates +fi + +#DEBHELPER# |