diff --git a/debian/changelog b/debian/changelog index a56d3e48..8b97fb7e 100644 --- a/debian/changelog +++ b/debian/changelog @@ -5,8 +5,10 @@ midori (0.2.6-1) UNRELEASED; urgency=low - correct link to FAQ (Closes: #582512) * refresh patches * update copyright + * use dpkg-maintscript-helper to remove old config file + /etc/midori/extensions/libadblock.so (Closes: #573208) - -- Ryan Niebur Sun, 30 May 2010 11:26:13 -0700 + -- Ryan Niebur Tue, 01 Jun 2010 21:23:35 -0700 midori (0.2.4-3) unstable; urgency=low diff --git a/debian/control b/debian/control index cab1dd20..0d9be4e7 100644 --- a/debian/control +++ b/debian/control @@ -36,6 +36,7 @@ Vcs-Browser: http://git.ryan52.info/?p=midori;a=summary Package: midori Architecture: any Depends: ${shlibs:Depends}, ${misc:Depends}, dbus-x11, libjs-mootools +Pre-Depends: dpkg (>= 1.15.7.2) Recommends: gnome-icon-theme Provides: www-browser # For http://bugs.debian.org/522436 (missing symbols): diff --git a/debian/midori.postinst.base b/debian/midori.postinst.base index 32f4b76c..8ab85c7f 100644 --- a/debian/midori.postinst.base +++ b/debian/midori.postinst.base @@ -9,5 +9,7 @@ case "$1" in 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 diff --git a/debian/midori.postrm b/debian/midori.postrm new file mode 100644 index 00000000..0ce86b64 --- /dev/null +++ b/debian/midori.postrm @@ -0,0 +1,6 @@ +#!/bin/sh +set -e +dpkg-maintscript-helper rm_conffile \ + /etc/midori/extensions/libadblock.so/config 0.2.2-1 midori -- "$@" +#DEBHELPER# +exit 0 diff --git a/debian/midori.preinst b/debian/midori.preinst new file mode 100644 index 00000000..0ce86b64 --- /dev/null +++ b/debian/midori.preinst @@ -0,0 +1,6 @@ +#!/bin/sh +set -e +dpkg-maintscript-helper rm_conffile \ + /etc/midori/extensions/libadblock.so/config 0.2.2-1 midori -- "$@" +#DEBHELPER# +exit 0