Overview

Request 102311 accepted

Amend gcin.spec to handle the immodules cache.

From 'rpm -q --scripts gcin', %gtk{2,3}_immodule_postun only updates
the immodules cache for uninstall:

if [ $1 -eq 0 ]; then
/usr/bin/gtk-query-immodules-2.0 > /etc/gtk-2.0/gtk.immodules
fi

This may cause the inconsistent immodule cache after package upgrade.
($1 == 1 in upgrade)

I follow the script in gtk2.spec and gtk3.spec to update the immodule
cache to avoid the inconsistent cache.

Loading...
Request History
Gary Ching-Pang Lin's avatar

gary_lin created request

Amend gcin.spec to handle the immodules cache.

From 'rpm -q --scripts gcin', %gtk{2,3}_immodule_postun only updates
the immodules cache for uninstall:

if [ $1 -eq 0 ]; then
/usr/bin/gtk-query-immodules-2.0 > /etc/gtk-2.0/gtk.immodules
fi

This may cause the inconsistent immodule cache after package upgrade.
($1 == 1 in upgrade)

I follow the script in gtk2.spec and gtk3.spec to update the immodule
cache to avoid the inconsistent cache.


Stephan Kulow's avatar

coolo accepted request

I assume this is correct

openSUSE Build Service is sponsored by