summaryrefslogtreecommitdiff
path: root/package/libgtk2/S26libgtk2
blob: 037746d9692039b7735e38bece85956cc4886484 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
#!/bin/sh
#
# run pgdk-pixbuf-query-loaders if needed

FILE=/usr/lib/gdk-pixbuf-2.0/2.10.0/loaders.cache

case "$1" in
    start|"")
	if [ ! -f "$FILE" ] ; then
	    /usr/bin/gdk-pixbuf-query-loaders --update-cache
	fi
	;;
    stop)
	;;
    *)
	echo "Usage: $0 {start|stop}" >&2
	exit 1
	;;
esac