--- update-pango-modules Thu Jan 1 09:00:00 1970 +++ update-pango-modules Sun Nov 24 18:06:04 2002 @@ -0,0 +1,20 @@ +#!/bin/sh -e +# +# update-pango-modules +# +# Package which install pango module(s) should call update-pango-modules in +# it's PostInstScript/PostRmScript to update pango.module file. +# + +CONFDIR=@PREFIX@/etc/pango +CONFFILE=$CONFDIR/pango.modules + +mkdir -p $CONFDIR + +TMPFILE=`tempfile` +pango-querymodules >$TMPFILE + +mv -f $TMPFILE $CONFFILE +chmod 0644 $CONFFILE + +exit 0