xbps-triggers: update gtk-pixbuf-loaders to use fixed cache file.
This commit is contained in:
parent
3b941f18f6
commit
22bc9ffd02
2 changed files with 3 additions and 3 deletions
|
@ -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
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
# Template file for 'xbps-triggers'
|
||||
pkgname=xbps-triggers
|
||||
version=0.44
|
||||
version=0.45
|
||||
revision=1
|
||||
noarch=yes
|
||||
noextract=yes
|
||||
|
|
Loading…
Reference in a new issue