gdk-pixbuf: make hooks failsafe
Force exit with status '0' even on failure.
This commit is contained in:
parent
368c09dac2
commit
eb27236873
@ -2,7 +2,7 @@ TERMUX_PKG_HOMEPAGE=https://developer.gnome.org/gdk-pixbuf/
|
||||
TERMUX_PKG_DESCRIPTION="Library for image loading and manipulation"
|
||||
TERMUX_PKG_LICENSE="LGPL-2.1"
|
||||
TERMUX_PKG_VERSION=2.40.0
|
||||
TERMUX_PKG_REVISION=1
|
||||
TERMUX_PKG_REVISION=2
|
||||
TERMUX_PKG_SRCURL=ftp://ftp.gnome.org/pub/gnome/sources/gdk-pixbuf/${TERMUX_PKG_VERSION:0:4}/gdk-pixbuf-${TERMUX_PKG_VERSION}.tar.xz
|
||||
TERMUX_PKG_SHA256=1582595099537ca8ff3b99c6804350b4c058bb8ad67411bbaae024ee7cead4e6
|
||||
TERMUX_PKG_DEPENDS="glib, libpng, libtiff, libjpeg-turbo"
|
||||
|
@ -1,2 +1,3 @@
|
||||
#!@TERMUX_PREFIX@/bin/sh
|
||||
gdk-pixbuf-query-loaders --update-cache
|
||||
exit 0
|
||||
|
@ -1,2 +1,3 @@
|
||||
#!@TERMUX_PREFIX@/bin/sh
|
||||
rm -f @TERMUX_PREFIX@/lib/gdk-pixbuf-2.0/2.10.0/loaders.cache
|
||||
exit 0
|
||||
|
Loading…
Reference in New Issue
Block a user