triggers/gtk-pixbuf-loaders: fix path to bin.
--HG-- extra : convert_revision : df8edc18eb1946bdb43701347242d2d47487560d
This commit is contained in:
parent
f4cd426deb
commit
3e398336f1
1 changed files with 3 additions and 3 deletions
|
@ -1,6 +1,6 @@
|
||||||
#!/bin/sh
|
#!/bin/sh
|
||||||
#
|
#
|
||||||
# Updates GTK+ gdk pixbuf loaders file with gdk-pixbuf-queryloaders(1).
|
# Updates GTK+ gdk pixbuf modules file with gdk-pixbuf-query-loaders(1).
|
||||||
#
|
#
|
||||||
# Arguments: $1 = action [run/targets]
|
# Arguments: $1 = action [run/targets]
|
||||||
# $2 = target [post-install/post-remove]
|
# $2 = target [post-install/post-remove]
|
||||||
|
@ -8,7 +8,7 @@
|
||||||
# $4 = version
|
# $4 = version
|
||||||
#
|
#
|
||||||
trigger="gtk-pixbuf-loaders"
|
trigger="gtk-pixbuf-loaders"
|
||||||
pixbuf_bin=./usr/bin/gdk-pixbuf-queryloaders
|
pixbuf_bin=./usr/bin/gdk-pixbuf-query-loaders
|
||||||
pixbuf_loaders=./etc/gtk-2.0/gdk-pixbuf.loaders
|
pixbuf_loaders=./etc/gtk-2.0/gdk-pixbuf.loaders
|
||||||
|
|
||||||
case "$1" in
|
case "$1" in
|
||||||
|
@ -24,7 +24,7 @@ run)
|
||||||
rm -f ${pixbuf_loaders}
|
rm -f ${pixbuf_loaders}
|
||||||
fi
|
fi
|
||||||
if [ -x ${pixbuf_bin} ]; then
|
if [ -x ${pixbuf_bin} ]; then
|
||||||
echo "Updating GTK's pixbuf loaders database..."
|
echo "Updating GTK's pixbuf modules file..."
|
||||||
${pixbuf_bin} > ${pixbuf_loaders}
|
${pixbuf_bin} > ${pixbuf_loaders}
|
||||||
fi
|
fi
|
||||||
;;
|
;;
|
||||||
|
|
Loading…
Add table
Reference in a new issue