Don't purge /etc/gtk-2.0/gdk-pixbuf.loaders and /etc/gtk-2.0/gtk.immodules

during first configuration.
This commit is contained in:
Loïc Minier
2008-11-28 18:04:52 +00:00
parent 01bf4c050b
commit 797a5dd5f7
2 changed files with 8 additions and 1 deletions

7
debian/changelog vendored
View File

@ -1,3 +1,10 @@
gtk+2.0 (2.14.5-2) UNRELEASED; urgency=low
* Don't purge /etc/gtk-2.0/gdk-pixbuf.loaders and /etc/gtk-2.0/gtk.immodules
during first configuration.
-- Loic Minier <lool@dooz.org> Fri, 28 Nov 2008 19:04:18 +0100
gtk+2.0 (2.14.5-1) experimental; urgency=low
[ Josselin Mouette ]

View File

@ -5,7 +5,7 @@ set -e
# versions prior to 2.10.1-1 used the 2.4.0 binary version and generated module
# files below /etc/gtk-2.0 which will we can not leave behind (since they
# reference modules not on the system anymore)
if [ "$1" = "configure" ] && dpkg --compare-versions "$2" lt "2.10.3-2"; then
if [ "$1" = "configure" ] && dpkg --compare-versions "$2" lt-nl "2.10.3-2"; then
echo "Removing generated module files coming from the previous Gtk binary version..."
rm -v -f /etc/gtk-2.0/gdk-pixbuf.loaders
rm -v -f /etc/gtk-2.0/gtk.immodules