Brad Bishop | 1a4b7ee | 2018-12-16 17:11:34 -0800 | [diff] [blame] | 1 | #!/bin/sh |
| 2 | |
| 3 | set -e |
| 4 | |
| 5 | if [ -x $D${libexecdir}/${binprefix}gtk-query-immodules-2.0 ]; then |
| 6 | PSEUDO_UNLOAD=1 ${binprefix}qemuwrapper -L $D $D${libexecdir}/${binprefix}gtk-query-immodules-2.0 \ |
| 7 | > $D${libdir}/gtk-2.0/2.10.0/immodules.cache && |
| 8 | sed -i -e "s:$D::" $D${libdir}/gtk-2.0/2.10.0/immodules.cache |
| 9 | chown root:root $D${libdir}/gtk-2.0/2.10.0/immodules.cache |
| 10 | fi |
| 11 | if [ -x $D${libexecdir}/${binprefix}gtk-query-immodules-3.0 ]; then |
| 12 | PSEUDO_UNLOAD=1 ${binprefix}qemuwrapper -L $D $D${libexecdir}/${binprefix}gtk-query-immodules-3.0 \ |
| 13 | > $D${libdir}/gtk-3.0/3.0.0/immodules.cache && |
| 14 | sed -i -e "s:$D::" $D${libdir}/gtk-3.0/3.0.0/immodules.cache |
| 15 | chown root:root $D${libdir}/gtk-3.0/3.0.0/immodules.cache |
| 16 | fi |