diff options
author | Fabio Erculiani <lxnay@gentoo.org> | 2012-04-25 09:35:42 +0000 |
---|---|---|
committer | Fabio Erculiani <lxnay@gentoo.org> | 2012-04-25 09:35:42 +0000 |
commit | b222d89418f36e6bcc71914728068bfadfd2c064 (patch) | |
tree | 8803c3d48e03e0485dbfd370d073f913477f5082 /app-emulation/emul-linux-x86-gtklibs/emul-linux-x86-gtklibs-20120127.ebuild | |
parent | simplify pango-querymodules32 usage (diff) | |
download | gentoo-2-b222d89418f36e6bcc71914728068bfadfd2c064.tar.gz gentoo-2-b222d89418f36e6bcc71914728068bfadfd2c064.tar.bz2 gentoo-2-b222d89418f36e6bcc71914728068bfadfd2c064.zip |
simplify (even more) pango-querymodules32 usage
(Portage version: 2.2.0_alpha84/cvs/Linux x86_64, RepoMan options: --force)
Diffstat (limited to 'app-emulation/emul-linux-x86-gtklibs/emul-linux-x86-gtklibs-20120127.ebuild')
-rw-r--r-- | app-emulation/emul-linux-x86-gtklibs/emul-linux-x86-gtklibs-20120127.ebuild | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/app-emulation/emul-linux-x86-gtklibs/emul-linux-x86-gtklibs-20120127.ebuild b/app-emulation/emul-linux-x86-gtklibs/emul-linux-x86-gtklibs-20120127.ebuild index 7afc23dcb8e4..de9c8a65738f 100644 --- a/app-emulation/emul-linux-x86-gtklibs/emul-linux-x86-gtklibs-20120127.ebuild +++ b/app-emulation/emul-linux-x86-gtklibs/emul-linux-x86-gtklibs-20120127.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/app-emulation/emul-linux-x86-gtklibs/emul-linux-x86-gtklibs-20120127.ebuild,v 1.5 2012/04/25 09:32:54 lxnay Exp $ +# $Header: /var/cvsroot/gentoo-x86/app-emulation/emul-linux-x86-gtklibs/emul-linux-x86-gtklibs-20120127.ebuild,v 1.6 2012/04/25 09:35:42 lxnay Exp $ EAPI="4" @@ -58,9 +58,8 @@ pkg_postinst() { # be atomic! pango-querymodules32 > "${tmp_file}" if [ "${?}" = "0" ]; then - cat "${tmp_file}" > "${pango_conf}" - fi - if [ "${?}" != "0" ]; then + cat "${tmp_file}" > "${pango_conf}" || die + else ewarn "Cannot update pango.modules, file generation failed" fi rm "${tmp_file}" |