summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2010-03-07 03:00:08 +0000
committerMike Frysinger <vapier@gentoo.org>2010-03-07 03:00:08 +0000
commit70e62f033d78b21ba7700c21486cbcd77d56faef (patch)
tree5b8597524326f1fa0c09af8b6cb6f88051285ed6
parentmake_desktop_entry: place media-gfx into Graphics only, not AudioVideo;Graphics (diff)
downloadgentoo-2-70e62f033d78b21ba7700c21486cbcd77d56faef.tar.gz
gentoo-2-70e62f033d78b21ba7700c21486cbcd77d56faef.tar.bz2
gentoo-2-70e62f033d78b21ba7700c21486cbcd77d56faef.zip
make_desktop_entry: call `die` if `doins` failed #305165
-rw-r--r--eclass/eutils.eclass4
1 files changed, 2 insertions, 2 deletions
diff --git a/eclass/eutils.eclass b/eclass/eutils.eclass
index 8076fbca67fe..40288fc568fb 100644
--- a/eclass/eutils.eclass
+++ b/eclass/eutils.eclass
@@ -1,6 +1,6 @@
# Copyright 1999-2009 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/eclass/eutils.eclass,v 1.339 2010/03/07 02:55:54 vapier Exp $
+# $Header: /var/cvsroot/gentoo-x86/eclass/eutils.eclass,v 1.340 2010/03/07 03:00:08 vapier Exp $
# @ECLASS: eutils.eclass
# @MAINTAINER:
@@ -1035,7 +1035,7 @@ make_desktop_entry() {
# doesn't corrupt the env of the caller
insinto /usr/share/applications
doins "${desktop}"
- )
+ ) || die "installing desktop file failed"
}
# @FUNCTION: validate_desktop_entries