From e528d99d9667e999438abc3817d8bf417cdfb130 Mon Sep 17 00:00:00 2001 From: Peter Korsgaard Date: Wed, 31 Dec 2008 09:35:11 +0000 Subject: 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. --- package/pango/S25pango | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) create mode 100644 package/pango/S25pango (limited to 'package/pango/S25pango') diff --git a/package/pango/S25pango b/package/pango/S25pango new file mode 100644 index 000000000..b214bdc5f --- /dev/null +++ b/package/pango/S25pango @@ -0,0 +1,19 @@ +#! /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 -- cgit v1.2.3