kumquat-buildroot/package/gdk-pixbuf/S26gdk-pixbuf
Lionel Landwerlin 4411017f86 gdk-pixbuf/libgtk2: move gdk-pixbuf loader cache setup script
Signed-off-by: Lionel Landwerlin <llandwerlin@gmail.com>
Acked-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2010-11-05 10:07:26 +01:00

20 lines
295 B
Bash

#!/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