ccb02b009b
It would be nicer to do this at compile time, but then we would need to compile libgtk2 for the host as well.
20 lines
278 B
Bash
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
|