[EMAIL PROTECTED] wrote:

> The gtk+2 post-installation script runs a couple of scripts.  Check if 
> 
> /sw/sbin/update-gdk-pixbuf-loaders

#!/bin/sh -e
#
# update-gdk-pixbuf-loaders
#
#   Packages which install gdk-pixbuf loader(s) should call update-gdk-
#   pixbuf-loaders in their PostInstScript and PostRmScript to update the
#   gdk-pixbuf.loaders file.
#

CONFDIR=/sw/etc/gtk-2.0
CONFFILE=$CONFDIR/gdk-pixbuf.loaders

mkdir -p $CONFDIR

TMPFILE=`tempfile`
gdk-pixbuf-query-loaders >$TMPFILE

mv -f $TMPFILE $CONFFILE
chmod 0644 $CONFFILE

exit 0

> and/or
> 
> /sw/sbin/update-gtk-immodules

#!/bin/sh -e
#
# update-gtk-immodules
#
#   Packages which install gtk immodule(s) should call update-gtk-immodules
#   in their PostInstScript and PostRmScript to update the gtk.immodules 
file.
#

CONFDIR=/sw/etc/gtk-2.0
CONFFILE=$CONFDIR/gtk.immodules

mkdir -p $CONFDIR

TMPFILE=`tempfile`
gtk-query-immodules-2.0 >$TMPFILE

mv -f $TMPFILE $CONFFILE
chmod 0644 $CONFFILE

exit 0

Hope these help.

Thanks,

Iain


-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys -- and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
Fink-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/fink-users

Reply via email to