diff options
author | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-04-28 14:29:59 +0000 |
---|---|---|
committer | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-04-28 14:29:59 +0000 |
commit | 4619c1a0ffc127c8f645077f5c322663d8b9b2b3 (patch) | |
tree | 070869da410d51f1e532cfb680e493ef847523c7 /debian/browser.preinst.in | |
parent | Adding upstream version 86.0.1. (diff) | |
download | firefox-4619c1a0ffc127c8f645077f5c322663d8b9b2b3.tar.xz firefox-4619c1a0ffc127c8f645077f5c322663d8b9b2b3.zip |
Adding debian version 86.0.1-1.debian/86.0.1-1debian
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'debian/browser.preinst.in')
-rw-r--r-- | debian/browser.preinst.in | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/debian/browser.preinst.in b/debian/browser.preinst.in new file mode 100644 index 0000000000..33f44f5676 --- /dev/null +++ b/debian/browser.preinst.in @@ -0,0 +1,12 @@ +#!/bin/sh -e + +if [ "$1" = "upgrade" ] || [ "$1" = "install" ] ; then +%if TRANSITION + if [ "$(dpkg-divert --listpackage /usr/bin/firefox)" = "iceweasel" ] ; then + dpkg-divert --package iceweasel --rename --remove /usr/bin/firefox + fi +%endif + dpkg-divert --package @browser@ --divert /usr/bin/firefox.real --rename /usr/bin/firefox +fi + +#DEBHELPER# |