mirror of
https://github.com/flatcar/scripts.git
synced 2025-08-15 08:56:58 +02:00
eclass/strip-linguas: Sync with Gentoo
It's from Gentoo commit 48651ecc0d4444536ed15b06736e331238b6f92b.
This commit is contained in:
parent
2f4804d78c
commit
d6fe7d2410
@ -1,18 +1,16 @@
|
|||||||
# Copyright 2004-2021 Gentoo Authors
|
# Copyright 2004-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 and 4.
|
|
||||||
|
|
||||||
# @ECLASS: strip-linguas.eclass
|
# @ECLASS: strip-linguas.eclass
|
||||||
# @MAINTAINER:
|
# @MAINTAINER:
|
||||||
# Ulrich Müller <ulm@gentoo.org>
|
# Ulrich Müller <ulm@gentoo.org>
|
||||||
# @AUTHOR:
|
# @AUTHOR:
|
||||||
# Mike Frysinger <vapier@gentoo.org>
|
# Mike Frysinger <vapier@gentoo.org>
|
||||||
# @SUPPORTED_EAPIS: 0 4 5 6 7 8
|
# @SUPPORTED_EAPIS: 5 6 7 8
|
||||||
# @BLURB: convenience function for LINGUAS support
|
# @BLURB: convenience function for LINGUAS support
|
||||||
|
|
||||||
case ${EAPI:-0} in
|
case ${EAPI} in
|
||||||
0|4|5|6|7|8) ;;
|
5|6|7|8) ;;
|
||||||
*) die "${ECLASS}: EAPI ${EAPI:-0} not supported" ;;
|
*) die "${ECLASS}: EAPI ${EAPI:-0} not supported" ;;
|
||||||
esac
|
esac
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user