Skip to content

Commit

Permalink
hooks: gdk-pixbuf-query-loaders: exit if pkg-config returned nothing
Browse files Browse the repository at this point in the history
  • Loading branch information
Matthias Ruester committed Mar 18, 2012
1 parent 3d78d58 commit 1571e57
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions hooks/gdk-pixbuf-query-loaders.sh
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,10 @@ fi
gdk_pixbuf_moduledir=$(pkg-config --variable=gdk_pixbuf_moduledir gdk-pixbuf-2.0)
gdk_pixbuf_cache_file=$(pkg-config --variable=gdk_pixbuf_cache_file gdk-pixbuf-2.0)

if [ -z "${gdk_pixbuf_moduledir}" -o -z "${gdk_pixbuf_cache_file}" ]; then
exit 0
fi

if grep -q "file=${gdk_pixbuf_moduledir}" ${BEE_METADIR}/${pkg}/FILES ; then
case "${action}" in
"post-install")
Expand Down

0 comments on commit 1571e57

Please sign in to comment.