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
commit5c4adddd527335696bb195f50ec651bdb117bbbf (patch)
treeea823ba972b2d5dcfd908a2d06e2cebf563903c8 /eclass/eutils.eclass
parentmake_desktop_entry: place media-gfx into Graphics only, not AudioVideo;Graphics (diff)
downloadhistorical-5c4adddd527335696bb195f50ec651bdb117bbbf.tar.gz
historical-5c4adddd527335696bb195f50ec651bdb117bbbf.tar.bz2
historical-5c4adddd527335696bb195f50ec651bdb117bbbf.zip
make_desktop_entry: call `die` if `doins` failed #305165
Diffstat (limited to 'eclass/eutils.eclass')
-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