main/gtk+3.0: fix trigger to ignore failing rmdir

This commit is contained in:
Natanael Copa 2023-12-05 08:51:53 +01:00
parent 93c043e3fe
commit ca23063751
2 changed files with 2 additions and 2 deletions

View File

@ -3,7 +3,7 @@
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=gtk+3.0
pkgver=3.24.38
pkgrel=4
pkgrel=5
pkgdesc="The GTK+ Toolkit (v3)"
url="https://www.gtk.org/"
install="$pkgname.post-install $pkgname.post-upgrade $pkgname.post-deinstall"

View File

@ -5,5 +5,5 @@ for i in "$@"; do
continue
fi
gtk-update-icon-cache -q -t -f "$i"
rmdir "$1" 2&>/dev/null
rmdir "$1" 2>/dev/null || :
done