763d4ef9ea
After libgtk was bumped to 2.22.0 default loacation of pixbuf loaders cache changed. Use --update-cache flag for gdk-pixbuf-query-loaders which does waht we need. Signed-off-by: Paulius Zaleckas <paulius.zaleckas@gmail.com> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
20 lines
296 B
Bash
20 lines
296 B
Bash
#!/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
|