midori/debian/midori.postinst.base

15 lines
464 B
Bash

#!/bin/sh
set -e
case "$1" in
configure)
update-alternatives \
--install /usr/bin/x-www-browser \
x-www-browser /usr/bin/midori DEBIAN_WWW_ALTERNATIVES_PRIORITY \
--slave /usr/share/man/man1/x-www-browser.1.gz \
x-www-browser.1.gz /usr/share/man/man1/midori.1.gz
;;
esac
dpkg-maintscript-helper rm_conffile \
/etc/midori/extensions/libadblock.so/config 0.2.2-1 midori -- "$@"
#DEBHELPER#
exit 0