xbps-triggers: update gtk-pixbuf-loaders to use fixed cache file.

This commit is contained in:
Juan RP 2012-08-07 09:04:21 +02:00
parent 3b941f18f6
commit 22bc9ffd02
2 changed files with 3 additions and 3 deletions

View file

@ -17,6 +17,7 @@ UPDATE="$5"
export PATH="$PATH:/usr/local/bin"
pixbuf_bin=usr/bin/gdk-pixbuf-query-loaders
pixbuf_cache=usr/lib/gdk-pixbuf-2.0/2.10.0/loaders.cache
case "$ACTION" in
targets)
@ -26,8 +27,7 @@ run)
[ ! -x ${pixbuf_bin} ] && exit 0
if [ "$TARGET" = "pre-remove" -a "${PKGNAME}" = "gdk-pixbuf" ]; then
_cache_file=$(${pixbuf_bin} --print-cache-file)
[ -f .${_cache_file} ] && rm -f .${_cache_file}
[ -f ${pixbuf_cache} ] && rm -f ${pixbuf_cache}
break
fi
case "$TARGET" in

View file

@ -1,6 +1,6 @@
# Template file for 'xbps-triggers'
pkgname=xbps-triggers
version=0.44
version=0.45
revision=1
noarch=yes
noextract=yes