use dpkg-maintscript-helper to remove old config file /etc/midori/extensions/libadblock.so (Closes: #573208)

This commit is contained in:
Ryan Niebur 2010-06-01 21:24:40 -07:00
parent 3da004630c
commit 45380ddfe3
5 changed files with 18 additions and 1 deletions

4
debian/changelog vendored
View file

@ -5,8 +5,10 @@ midori (0.2.6-1) UNRELEASED; urgency=low
- correct link to FAQ (Closes: #582512) - correct link to FAQ (Closes: #582512)
* refresh patches * refresh patches
* update copyright * update copyright
* use dpkg-maintscript-helper to remove old config file
/etc/midori/extensions/libadblock.so (Closes: #573208)
-- Ryan Niebur <ryan@debian.org> Sun, 30 May 2010 11:26:13 -0700 -- Ryan Niebur <ryan@debian.org> Tue, 01 Jun 2010 21:23:35 -0700
midori (0.2.4-3) unstable; urgency=low midori (0.2.4-3) unstable; urgency=low

1
debian/control vendored
View file

@ -36,6 +36,7 @@ Vcs-Browser: http://git.ryan52.info/?p=midori;a=summary
Package: midori Package: midori
Architecture: any Architecture: any
Depends: ${shlibs:Depends}, ${misc:Depends}, dbus-x11, libjs-mootools Depends: ${shlibs:Depends}, ${misc:Depends}, dbus-x11, libjs-mootools
Pre-Depends: dpkg (>= 1.15.7.2)
Recommends: gnome-icon-theme Recommends: gnome-icon-theme
Provides: www-browser Provides: www-browser
# For http://bugs.debian.org/522436 (missing symbols): # For http://bugs.debian.org/522436 (missing symbols):

View file

@ -9,5 +9,7 @@ case "$1" in
x-www-browser.1.gz /usr/share/man/man1/midori.1.gz x-www-browser.1.gz /usr/share/man/man1/midori.1.gz
;; ;;
esac esac
dpkg-maintscript-helper rm_conffile \
/etc/midori/extensions/libadblock.so/config 0.2.2-1 midori -- "$@"
#DEBHELPER# #DEBHELPER#
exit 0 exit 0

6
debian/midori.postrm vendored Normal file
View file

@ -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

6
debian/midori.preinst vendored Normal file
View file

@ -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