wok rev 7773

Reverted my change to use loaders.cache file instead of making my own /etc/gtk-2.0/gdk-pixbuf.loaders file.
author Christopher Rogers <slaxemulator@gmail.com>
date Thu Dec 23 01:14:50 2010 +0000 (2010-12-23)
parents d4078c3eb6d1
children 662ed282dc0c
files gdk-pixbuf/receipt
line diff
     1.1 --- a/gdk-pixbuf/receipt	Thu Dec 23 00:45:09 2010 +0000
     1.2 +++ b/gdk-pixbuf/receipt	Thu Dec 23 01:14:50 2010 +0000
     1.3 @@ -37,6 +37,9 @@
     1.4  # Pre and post install commands for Tazpkg.
     1.5  post_install()
     1.6  {
     1.7 -	echo "Updating /usr/lib/gdk-pixbuf/2.10.0/loaders.cache file..."
     1.8 -	chroot $1/ /usr/bin/gdk-pixbuf-query-loaders --update-cache
     1.9 +	echo "Creating /etc/gtk-2.0/gdk-pixbuf.loaders..."
    1.10 +	if [ ! -d $1/etc/gtk-2.0 ]; then
    1.11 +		mkdir -p $1/etc/gtk-2.0
    1.12 +	fi
    1.13 +	chroot $1/ /usr/bin/gdk-pixbuf-query-loaders > $1/etc/gtk-2.0/gdk-pixbuf.loaders
    1.14  }