kumquat-buildroot/package/libgtk2/S26libgtk2
Peter Korsgaard ccb02b009b libgtk2: add init script to create /etc/gtk-2.0/gdk-pixbuf.loaders
It would be nicer to do this at compile time, but then we would need to
compile libgtk2 for the host as well.
2008-12-31 09:35:15 +00:00

20 lines
278 B
Bash

#!/bin/sh
#
# run pgdk-pixbuf-query-loaders if needed
FILE=/etc/gtk-2.0/gdk-pixbuf.loaders
case "$1" in
start|"")
if [ ! -f "$FILE" ] ; then
/usr/bin/gdk-pixbuf-query-loaders > "$FILE"
fi
;;
stop)
;;
*)
echo "Usage: $0 {start|stop}" >&2
exit 1
;;
esac