diff options
author | Fabio Erculiani <lxnay@gentoo.org> | 2012-04-25 10:11:21 +0000 |
---|---|---|
committer | Fabio Erculiani <lxnay@gentoo.org> | 2012-04-25 10:11:21 +0000 |
commit | b838cd49dcca2b852e5b647788ffb892bf73fc36 (patch) | |
tree | 4f56350399e1c50f05d5e39a99f35a3ff96d0ca8 /x11-libs/pango/pango-1.30.0.ebuild | |
parent | fix gtk/pango/gdk-pixbuf query tools usage, be atomic, be POSIX (diff) | |
download | gentoo-2-b838cd49dcca2b852e5b647788ffb892bf73fc36.tar.gz gentoo-2-b838cd49dcca2b852e5b647788ffb892bf73fc36.tar.bz2 gentoo-2-b838cd49dcca2b852e5b647788ffb892bf73fc36.zip |
sync pango-querymodules usage with emul-linux-x86-gtklibs
(Portage version: 2.2.0_alpha84/cvs/Linux x86_64, RepoMan options: --force)
Diffstat (limited to 'x11-libs/pango/pango-1.30.0.ebuild')
-rw-r--r-- | x11-libs/pango/pango-1.30.0.ebuild | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/x11-libs/pango/pango-1.30.0.ebuild b/x11-libs/pango/pango-1.30.0.ebuild index 6a5616ae36a6..3985b9767fbf 100644 --- a/x11-libs/pango/pango-1.30.0.ebuild +++ b/x11-libs/pango/pango-1.30.0.ebuild @@ -1,6 +1,6 @@ # Copyright 1999-2012 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/x11-libs/pango/pango-1.30.0.ebuild,v 1.4 2012/04/25 09:42:36 lxnay Exp $ +# $Header: /var/cvsroot/gentoo-x86/x11-libs/pango/pango-1.30.0.ebuild,v 1.5 2012/04/25 10:11:21 lxnay Exp $ EAPI="4" GCONF_DEBUG="yes" @@ -80,11 +80,11 @@ pkg_postinst() { local tmp_file=$(mktemp -t tmp.XXXXXXXXXXgdk_pixbuf_ebuild) # be atomic! - pango-querymodules \ + if pango-querymodules \ "${EROOT}"usr/$(get_libdir)/pango/1.6.0/modules/*.so \ - > "${tmp_file}" - if [ "${?}" = "0" ]; then - cat "${tmp_file}" > "${pango_conf}" || die + > "${tmp_file}"; then + cat "${tmp_file}" > "${pango_conf}" || { + rm "${tmp_file}"; die; } else ewarn "Cannot update pango.modules, file generation failed" fi |