From 22bc9ffd02571bca1af73a50b62920accffb9c68 Mon Sep 17 00:00:00 2001 From: Juan RP Date: Tue, 7 Aug 2012 09:04:21 +0200 Subject: [PATCH] xbps-triggers: update gtk-pixbuf-loaders to use fixed cache file. --- srcpkgs/xbps-triggers/files/gtk-pixbuf-loaders | 4 ++-- srcpkgs/xbps-triggers/template | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/srcpkgs/xbps-triggers/files/gtk-pixbuf-loaders b/srcpkgs/xbps-triggers/files/gtk-pixbuf-loaders index 32eca74e2d3..84737972603 100755 --- a/srcpkgs/xbps-triggers/files/gtk-pixbuf-loaders +++ b/srcpkgs/xbps-triggers/files/gtk-pixbuf-loaders @@ -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 diff --git a/srcpkgs/xbps-triggers/template b/srcpkgs/xbps-triggers/template index 7c2ba2e6886..6e0398eb14d 100644 --- a/srcpkgs/xbps-triggers/template +++ b/srcpkgs/xbps-triggers/template @@ -1,6 +1,6 @@ # Template file for 'xbps-triggers' pkgname=xbps-triggers -version=0.44 +version=0.45 revision=1 noarch=yes noextract=yes