1 --- desktop-cache-smf-services-0.2.2/pixbuf-loaders/pixbuf-loaders-installer.orig
2 +++ desktop-cache-smf-services-0.2.2/pixbuf-loaders/pixbuf-loaders-installer
4 if [ -a "/etc/$DIR/gtk-2.0/gdk-pixbuf.loaders" ]; then
5 RESULT=`${FIND_NEWER} -f -c -m --name '*.so' \
6 --newer /etc/$DIR/gtk-2.0/gdk-pixbuf.loaders \
7 - /usr/lib/$DIR/gtk-2.0/*/loaders 2>/dev/null`
8 + /usr/lib/$DIR/gdk-pixbuf-2.0/*/loaders 2>/dev/null`
10 RESULT="no loader file"
13 if [ -n "$RESULT" ]; then
14 echo "updating/creating gdk pixbuf loader file"
15 /usr/bin/$DIR/gdk-pixbuf-query-loaders > /etc/$DIR/gtk-2.0/gdk-pixbuf.loaders
16 + /usr/bin/$DIR/gdk-pixbuf-query-loaders > /usr/lib/$DIR/gdk-pixbuf-2.0/2.10.0/loaders.cache
18 echo "gdk-pixbuf-query-loaders exited with an error while generating the installer file /etc/$DIR/gtk-2.0/gdk-pixbuf.loaders"
19 exit $SMF_EXIT_ERR_FATAL
23 if [ -a "/etc/$DIR/gtk-2.0/gdk-pixbuf.loaders" ]; then
24 - RESULT=`/usr/bin/find /usr/lib/$DIR/gtk-2.0/*/loaders/*.so ! -type d \
25 + RESULT=`/usr/bin/find /usr/lib/$DIR/gdk-pixbuf-2.0/*/loaders/*.so ! -type d \
26 -follow -print 2>/dev/null`
28 RESULT="no loader file"
30 if [ -n "$RESULT" ]; then
31 echo "updating/creating gdk pixbuf loader file"
32 /usr/bin/$DIR/gdk-pixbuf-query-loaders > /etc/$DIR/gtk-2.0/gdk-pixbuf.loaders
33 + /usr/bin/$DIR/gdk-pixbuf-query-loaders > /usr/lib/$DIR/gdk-pixbuf-2.0/2.10.0/loaders.cache
35 echo "gdk-pixbuf-query-loaders exited with an error while generating the installer file /etc/$DIR/gtk-2.0/gdk-pixbuf.loaders"
36 exit $SMF_EXIT_ERR_FATAL