summaryrefslogtreecommitdiff
path: root/patches/source/gtk+2/update-gtk-immodules
diff options
context:
space:
mode:
Diffstat (limited to 'patches/source/gtk+2/update-gtk-immodules')
-rw-r--r--patches/source/gtk+2/update-gtk-immodules12
1 files changed, 12 insertions, 0 deletions
diff --git a/patches/source/gtk+2/update-gtk-immodules b/patches/source/gtk+2/update-gtk-immodules
new file mode 100644
index 00000000..a56b3fdc
--- /dev/null
+++ b/patches/source/gtk+2/update-gtk-immodules
@@ -0,0 +1,12 @@
+#! /bin/sh
+#
+# This is a wrapper script that calls update-gtk-immodules-2.0 (GTK+2)
+# and/or update-gtk-immodules-3.0 (GTK+3) to do the actual updating.
+
+if [ -x /usr/bin/update-gtk-immodules-2.0 ]; then
+ /usr/bin/update-gtk-immodules-2.0 $*
+fi
+if [ -x /usr/bin/update-gtk-immodules-3.0 ]; then
+ /usr/bin/update-gtk-immodules-3.0 $*
+fi
+