libgtk2: init script: make sure /etc/gtk-2.0 exists

This commit is contained in:
Peter Korsgaard 2009-03-16 15:49:11 +00:00
parent 01bcd0320e
commit 49a455645e

View 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
;;