2008-12-31 10:35:15 +01:00
|
|
|
#!/bin/sh
|
|
|
|
#
|
|
|
|
# run pgdk-pixbuf-query-loaders if needed
|
|
|
|
|
2010-10-30 19:29:12 +02:00
|
|
|
FILE=/usr/lib/gdk-pixbuf-2.0/2.10.0/loaders.cache
|
2008-12-31 10:35:15 +01:00
|
|
|
|
|
|
|
case "$1" in
|
|
|
|
start|"")
|
|
|
|
if [ ! -f "$FILE" ] ; then
|
2010-10-30 19:29:12 +02:00
|
|
|
/usr/bin/gdk-pixbuf-query-loaders --update-cache
|
2008-12-31 10:35:15 +01:00
|
|
|
fi
|
|
|
|
;;
|
|
|
|
stop)
|
|
|
|
;;
|
|
|
|
*)
|
|
|
|
echo "Usage: $0 {start|stop}" >&2
|
|
|
|
exit 1
|
|
|
|
;;
|
|
|
|
esac
|