xbps-triggers: fix removal of gdk-pixbuf pkg due to gtk-pixbuf-loaders trigger errors, bump to 0.8.
This commit is contained in:
parent
d874b48dcf
commit
26f77623e0
2 changed files with 5 additions and 3 deletions
|
@ -18,10 +18,12 @@ pixbuf_bin=usr/bin/gdk-pixbuf-query-loaders
|
|||
|
||||
case "$ACTION" in
|
||||
targets)
|
||||
echo "post-install post-remove"
|
||||
echo "post-install pre-remove post-remove"
|
||||
;;
|
||||
run)
|
||||
if [ "$TARGET" = "post-remove" -a "${PKGNAME}" = "gdk-pixbuf" ]; then
|
||||
[ ! -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}
|
||||
break
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
# Template file for 'xbps-triggers'
|
||||
pkgname=xbps-triggers
|
||||
version=0.7
|
||||
version=0.8
|
||||
build_style=custom-install
|
||||
short_desc="XBPS triggers"
|
||||
maintainer="Juan RP <xtraeme@gmail.com>"
|
||||
|
|
Loading…
Reference in a new issue