* debian/midori.{preinst,postinst,postrm}:
- handle adblock configuration file rename.
This commit is contained in:
parent
adb6a6a703
commit
4db20c930e
4 changed files with 14 additions and 6 deletions
2
debian/changelog
vendored
2
debian/changelog
vendored
|
@ -1,6 +1,8 @@
|
|||
midori (0.4.2-1) UNRELEASED; urgency=low
|
||||
|
||||
* 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
|
||||
|
||||
|
|
6
debian/midori.postinst.base
vendored
6
debian/midori.postinst.base
vendored
|
@ -9,7 +9,9 @@ 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 -- "$@"
|
||||
dpkg-maintscript-helper mv_conffile \
|
||||
/etc/xdg/midori/extensions/libadblock.so/config \
|
||||
/etc/xdg/midori/extensions/adblock/config \
|
||||
0.4.1-2 midori -- "$@"
|
||||
#DEBHELPER#
|
||||
exit 0
|
||||
|
|
6
debian/midori.postrm
vendored
6
debian/midori.postrm
vendored
|
@ -1,6 +1,8 @@
|
|||
#!/bin/sh
|
||||
set -e
|
||||
dpkg-maintscript-helper rm_conffile \
|
||||
/etc/midori/extensions/libadblock.so/config 0.2.2-1 midori -- "$@"
|
||||
dpkg-maintscript-helper mv_conffile \
|
||||
/etc/xdg/midori/extensions/libadblock.so/config \
|
||||
/etc/xdg/midori/extensions/adblock/config \
|
||||
0.4.1-2 midori -- "$@"
|
||||
#DEBHELPER#
|
||||
exit 0
|
||||
|
|
6
debian/midori.preinst
vendored
6
debian/midori.preinst
vendored
|
@ -1,6 +1,8 @@
|
|||
#!/bin/sh
|
||||
set -e
|
||||
dpkg-maintscript-helper rm_conffile \
|
||||
/etc/midori/extensions/libadblock.so/config 0.2.2-1 midori -- "$@"
|
||||
dpkg-maintscript-helper mv_conffile \
|
||||
/etc/xdg/midori/extensions/libadblock.so/config \
|
||||
/etc/xdg/midori/extensions/adblock/config \
|
||||
0.4.1-2 midori -- "$@"
|
||||
#DEBHELPER#
|
||||
exit 0
|
||||
|
|
Loading…
Reference in a new issue