Apply patch from Colin Watson to improve conffile handling, using new debhelper features. closes: #659773

This commit is contained in:
Yves-Alexis Perez 2012-02-14 08:02:30 +01:00
parent 01615716d0
commit fd63447c9c
4 changed files with 11 additions and 6 deletions

7
debian/changelog vendored
View file

@ -1,3 +1,10 @@
midori (0.4.3-2) UNRELEASED; urgency=low
* Apply patch from Colin Watson to improve conffile handling, using new
debhelper features. closes: #659773
-- Yves-Alexis Perez <corsac@debian.org> Mon, 13 Feb 2012 18:33:57 +0100
midori (0.4.3-1) unstable; urgency=low midori (0.4.3-1) unstable; urgency=low
* New upstream release. * New upstream release.

3
debian/control vendored
View file

@ -3,7 +3,7 @@ Section: web
Priority: optional Priority: optional
Maintainer: Ryan Niebur <ryan@debian.org> Maintainer: Ryan Niebur <ryan@debian.org>
Uploaders: Yves-Alexis Perez <corsac@debian.org> Uploaders: Yves-Alexis Perez <corsac@debian.org>
Build-Depends: debhelper (>= 7.0.50), Build-Depends: debhelper (>= 8.1.0~),
lsb-release, lsb-release,
libgtk2.0-dev (>= 2.10), libgtk2.0-dev (>= 2.10),
libglib2.0-dev, libglib2.0-dev,
@ -38,6 +38,7 @@ Vcs-Browser: http://git.debian.org/?p=collab-maint/midori.git;a=summary
Package: midori Package: midori
Architecture: any Architecture: any
Pre-Depends: ${misc:Pre-Depends}
Depends: ${shlibs:Depends}, ${misc:Depends}, dbus-x11 Depends: ${shlibs:Depends}, ${misc:Depends}, dbus-x11
Recommends: gnome-icon-theme Recommends: gnome-icon-theme
Provides: www-browser Provides: www-browser

1
debian/midori.maintscript vendored Normal file
View file

@ -0,0 +1 @@
mv_conffile /etc/xdg/midori/extensions/libadblock.so/config /etc/xdg/midori/extensions/adblock/config 0.4.1-2

View file

@ -9,10 +9,6 @@ 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 mv_conffile \
/etc/xdg/midori/extensions/libadblock.so/config \
/etc/xdg/midori/extensions/adblock/config \
0.4.1-2 midori -- "$@"
rmdir /etc/xdg/midori/extensions/libadblock.so || true
#DEBHELPER# #DEBHELPER#
rmdir /etc/xdg/midori/extensions/libadblock.so || true
exit 0 exit 0