libgtk2: init script: make sure /etc/gtk-2.0 exists
authorPeter Korsgaard <jacmet@sunsite.dk>
Mon, 16 Mar 2009 15:49:11 +0000 (15:49 -0000)
committerPeter Korsgaard <jacmet@sunsite.dk>
Mon, 16 Mar 2009 15:49:11 +0000 (15:49 -0000)
package/libgtk2/S26libgtk2

index 48e996d1efadf0f41754fd3438b72456bbb128ff..da5cc6ef7c029048ff44ae743e1969f96fcd8ca5 100644 (file)
@@ -7,6 +7,7 @@ FILE=/etc/gtk-2.0/gdk-pixbuf.loaders
 case "$1" in
     start|"")
        if [ ! -f "$FILE" ] ; then
+           mkdir -p /etc/gtk-2.0
            /usr/bin/gdk-pixbuf-query-loaders > "$FILE"
        fi
        ;;