From: Aaron Walker Date: Sun, 31 Oct 2004 12:59:10 +0000 (+0000) Subject: die if newins fails X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=946adef841f461fd5e3a477e330e5294ade479d9;p=gentoo.git die if newins fails --- diff --git a/eclass/bash-completion.eclass b/eclass/bash-completion.eclass index aa41209febea..95758eb2d47d 100644 --- a/eclass/bash-completion.eclass +++ b/eclass/bash-completion.eclass @@ -1,6 +1,6 @@ # Copyright 1999-2004 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/eclass/bash-completion.eclass,v 1.3 2004/10/30 23:13:44 ka0ttic Exp $ +# $Header: /var/cvsroot/gentoo-x86/eclass/bash-completion.eclass,v 1.4 2004/10/31 12:59:10 ka0ttic Exp $ # # Simple eclass that provides an interface for installing # contributed (ie not included in bash-completion proper) @@ -27,6 +27,6 @@ dobashcompletion() { [ -z "$1" ] && die "usage: dobashcompletion " if useq bash-completion ; then insinto /usr/share/bash-completion - newins "$1" "${2:-${1##*/}}" + newins "$1" "${2:-${1##*/}}" || die "Failed to install $1" fi }