diff options
Diffstat (limited to 'extra/gcin/install')
-rw-r--r-- | extra/gcin/install | 11 |
1 files changed, 6 insertions, 5 deletions
diff --git a/extra/gcin/install b/extra/gcin/install index 1097ea400..c16d11b5e 100644 --- a/extra/gcin/install +++ b/extra/gcin/install @@ -1,13 +1,14 @@ post_install() { - echo -n "updating gtk.immodules... " - /usr/bin/gtk-query-immodules-2.0 > /etc/gtk-2.0/gtk.immodules - echo "done." + echo -n "updating gtk immodules... " + [ -x /usr/bin/gtk-query-immodules-2.0 ] && /usr/bin/gtk-query-immodules-2.0 > /etc/gtk-2.0/gtk.immodules + [ -x /usr/bin/gtk-query-immodules-3.0 ] && /usr/bin/gtk-query-immodules-3.0 > /usr/lib/gtk-3.0/3.0.0/immodules.cache + echo "done." } post_upgrade() { - post_install + post_install } post_remove() { - post_install + post_install } |