* debian/midori.{preinst,postinst,postrm}:

- handle adblock configuration file rename.
This commit is contained in:
Yves-Alexis Perez 2011-11-14 13:08:47 +01:00
parent adb6a6a703
commit 4db20c930e
4 changed files with 14 additions and 6 deletions

2
debian/changelog vendored
View file

@ -1,6 +1,8 @@
midori (0.4.2-1) UNRELEASED; urgency=low midori (0.4.2-1) UNRELEASED; urgency=low
* New upstream release. * New upstream release.
* debian/midori.{preinst,postinst,postrm}:
- handle adblock configuration file rename.
-- Yves-Alexis Perez <corsac@debian.org> Mon, 14 Nov 2011 11:02:09 +0100 -- Yves-Alexis Perez <corsac@debian.org> Mon, 14 Nov 2011 11:02:09 +0100

View file

@ -9,7 +9,9 @@ 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 \ dpkg-maintscript-helper mv_conffile \
/etc/midori/extensions/libadblock.so/config 0.2.2-1 midori -- "$@" /etc/xdg/midori/extensions/libadblock.so/config \
/etc/xdg/midori/extensions/adblock/config \
0.4.1-2 midori -- "$@"
#DEBHELPER# #DEBHELPER#
exit 0 exit 0

View file

@ -1,6 +1,8 @@
#!/bin/sh #!/bin/sh
set -e set -e
dpkg-maintscript-helper rm_conffile \ dpkg-maintscript-helper mv_conffile \
/etc/midori/extensions/libadblock.so/config 0.2.2-1 midori -- "$@" /etc/xdg/midori/extensions/libadblock.so/config \
/etc/xdg/midori/extensions/adblock/config \
0.4.1-2 midori -- "$@"
#DEBHELPER# #DEBHELPER#
exit 0 exit 0

View file

@ -1,6 +1,8 @@
#!/bin/sh #!/bin/sh
set -e set -e
dpkg-maintscript-helper rm_conffile \ dpkg-maintscript-helper mv_conffile \
/etc/midori/extensions/libadblock.so/config 0.2.2-1 midori -- "$@" /etc/xdg/midori/extensions/libadblock.so/config \
/etc/xdg/midori/extensions/adblock/config \
0.4.1-2 midori -- "$@"
#DEBHELPER# #DEBHELPER#
exit 0 exit 0