aboutsummaryrefslogtreecommitdiffstats
path: root/package/gdk-pixbuf/S26gdk-pixbuf
blob: 82b7944e744ce3cc72371715ba23c8bbc565ceeb (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
#!/bin/sh
#
# run gdk-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