buildrootschalter/package/pango/S25pango
Peter Korsgaard e528d99d96 pango: add init script to create /etc/pango/pango.modules
It would be nicer to do this at compile time, but then we would need to
compile pango for the host as well.
2008-12-31 09:35:11 +00:00

20 lines
259 B
Bash

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