summaryrefslogtreecommitdiff
path: root/package/libgtk2/S26libgtk2
diff options
context:
space:
mode:
Diffstat (limited to 'package/libgtk2/S26libgtk2')
-rw-r--r--package/libgtk2/S26libgtk219
1 files changed, 19 insertions, 0 deletions
diff --git a/package/libgtk2/S26libgtk2 b/package/libgtk2/S26libgtk2
new file mode 100644
index 000000000..48e996d1e
--- /dev/null
+++ b/package/libgtk2/S26libgtk2
@@ -0,0 +1,19 @@
+#!/bin/sh
+#
+# run pgdk-pixbuf-query-loaders if needed
+
+FILE=/etc/gtk-2.0/gdk-pixbuf.loaders
+
+case "$1" in
+ start|"")
+ if [ ! -f "$FILE" ] ; then
+ /usr/bin/gdk-pixbuf-query-loaders > "$FILE"
+ fi
+ ;;
+ stop)
+ ;;
+ *)
+ echo "Usage: $0 {start|stop}" >&2
+ exit 1
+ ;;
+esac