summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'app-emulation/emul-linux-x86-gtklibs/emul-linux-x86-gtklibs-20110928.ebuild')
-rw-r--r--app-emulation/emul-linux-x86-gtklibs/emul-linux-x86-gtklibs-20110928.ebuild7
1 files changed, 3 insertions, 4 deletions
diff --git a/app-emulation/emul-linux-x86-gtklibs/emul-linux-x86-gtklibs-20110928.ebuild b/app-emulation/emul-linux-x86-gtklibs/emul-linux-x86-gtklibs-20110928.ebuild
index e434dcfdb9b2..5554bb436dba 100644
--- a/app-emulation/emul-linux-x86-gtklibs/emul-linux-x86-gtklibs-20110928.ebuild
+++ b/app-emulation/emul-linux-x86-gtklibs/emul-linux-x86-gtklibs-20110928.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-20110928.ebuild,v 1.7 2012/04/25 09:32:54 lxnay Exp $
+# $Header: /var/cvsroot/gentoo-x86/app-emulation/emul-linux-x86-gtklibs/emul-linux-x86-gtklibs-20110928.ebuild,v 1.8 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}"