summaryrefslogtreecommitdiffstats
path: root/package/pango/S25pango
blob: 69b2c1c197b2c3fe394d3b90a9bd040a9e700902 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
#! /bin/sh
#
# run pango-querymodules if needed

FILE=/etc/pango/pango.modules

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