diff options
Diffstat (limited to 'eclass/bash-completion-r1.eclass')
-rw-r--r-- | eclass/bash-completion-r1.eclass | 47 |
1 files changed, 0 insertions, 47 deletions
diff --git a/eclass/bash-completion-r1.eclass b/eclass/bash-completion-r1.eclass deleted file mode 100644 index c97305e2..00000000 --- a/eclass/bash-completion-r1.eclass +++ /dev/null @@ -1,47 +0,0 @@ -# Copyright 1999-2011 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: $ - -# @ECLASS: bash-completion-r1.eclass -# @MAINTAINER: -# mgorny@gentoo.org -# @BLURB: A few quick functions to install bash-completion files -# @EXAMPLE: -# -# @CODE -# EAPI=4 -# -# src_install() { -# default -# -# newbashcomp contrib/${PN}.bash-completion ${PN} -# } -# @CODE - -# @FUNCTION: dobashcomp -# @USAGE: file [...] -# @DESCRIPTION: -# Install bash-completion files passed as args. Has EAPI-dependant failure -# behavior (like doins). -dobashcomp() { - debug-print-function ${FUNCNAME} "${@}" - - ( - insinto /usr/share/bash-completion - doins "${@}" - ) -} - -# @FUNCTION: newbashcomp -# @USAGE: file newname -# @DESCRIPTION: -# Install bash-completion file under a new name. Has EAPI-dependant failure -# behavior (like newins). -newbashcomp() { - debug-print-function ${FUNCNAME} "${@}" - - ( - insinto /usr/share/bash-completion - newins "${@}" - ) -} |