mirror of
https://github.com/flatcar/scripts.git
synced 2025-08-16 09:26:58 +02:00
eclass/optfeature: Support EAPI 0, 4 and 5
This commit is contained in:
parent
b2509beaaa
commit
bc4a6d30a8
@ -1,14 +1,16 @@
|
|||||||
# Copyright 1999-2021 Gentoo Authors
|
# Copyright 1999-2021 Gentoo Authors
|
||||||
# Distributed under the terms of the GNU General Public License v2
|
# Distributed under the terms of the GNU General Public License v2
|
||||||
|
|
||||||
|
# Flatcar: Support EAPI 0, 4 and 5.
|
||||||
|
|
||||||
# @ECLASS: optfeature.eclass
|
# @ECLASS: optfeature.eclass
|
||||||
# @MAINTAINER:
|
# @MAINTAINER:
|
||||||
# base-system@gentoo.org
|
# base-system@gentoo.org
|
||||||
# @SUPPORTED_EAPIS: 6 7 8
|
# @SUPPORTED_EAPIS: 0 4 5 6 7 8
|
||||||
# @BLURB: Advertise optional functionality that might be useful to users
|
# @BLURB: Advertise optional functionality that might be useful to users
|
||||||
|
|
||||||
case ${EAPI} in
|
case ${EAPI:-0} in
|
||||||
6|7|8) ;;
|
0|4|5|6|7|8) ;;
|
||||||
*) die "${ECLASS}: EAPI=${EAPI:-0} is not supported" ;;
|
*) die "${ECLASS}: EAPI=${EAPI:-0} is not supported" ;;
|
||||||
esac
|
esac
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user