summaryrefslogtreecommitdiffstats
path: root/package/libgtk2/S26libgtk2
blob: da5cc6ef7c029048ff44ae743e1969f96fcd8ca5 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
#!/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
	    mkdir -p /etc/gtk-2.0
	    /usr/bin/gdk-pixbuf-query-loaders > "$FILE"
	fi
	;;
    stop)
	;;
    *)
	echo "Usage: $0 {start|stop}" >&2
	exit 1
	;;
esac