mirror of
https://github.com/gentoo-mirror/guru.git
synced 2026-07-21 04:53:07 -04:00
shell-completion.eclass: move EAPI guard
Signed-off-by: Anna (cybertailor) Vyalkova <cyber+gentoo@sysrq.in>
This commit is contained in:
@@ -11,17 +11,17 @@
|
|||||||
# for popular shells. It inherits the already widely adopted
|
# for popular shells. It inherits the already widely adopted
|
||||||
# `bash-completion-r1`, thus extending on its functionality.
|
# `bash-completion-r1`, thus extending on its functionality.
|
||||||
|
|
||||||
|
case ${EAPI} in
|
||||||
|
8) ;;
|
||||||
|
*) die "${ECLASS}: EAPI ${EAPI:-0} not supported"
|
||||||
|
esac
|
||||||
|
|
||||||
if [[ ! ${_SHELL_COMPLETION_ECLASS} ]]; then
|
if [[ ! ${_SHELL_COMPLETION_ECLASS} ]]; then
|
||||||
_SHELL_COMPLETION_ECLASS=1
|
_SHELL_COMPLETION_ECLASS=1
|
||||||
|
|
||||||
# Extend bash-completion-r1
|
# Extend bash-completion-r1
|
||||||
inherit bash-completion-r1
|
inherit bash-completion-r1
|
||||||
|
|
||||||
case ${EAPI} in
|
|
||||||
6|7|8) ;;
|
|
||||||
*) die "${ECLASS}: EAPI ${EAPI} unsupported."
|
|
||||||
esac
|
|
||||||
|
|
||||||
# @FUNCTION: _shell-completion_get_fishcompdir
|
# @FUNCTION: _shell-completion_get_fishcompdir
|
||||||
# @INTERNAL
|
# @INTERNAL
|
||||||
# @DESCRIPTION:
|
# @DESCRIPTION:
|
||||||
|
|||||||
Reference in New Issue
Block a user