mirror of
https://github.com/flatcar/scripts.git
synced 2025-08-15 00:46:58 +02:00
eclass/savedconfig: Sync with Gentoo
It's from Gentoo commit b4e9cef639f16613feabe5275fca088409135eb0.
This commit is contained in:
parent
2835473e9c
commit
c543b458cd
@ -1,10 +1,10 @@
|
|||||||
# Copyright 1999-2021 Gentoo Authors
|
# Copyright 1999-2022 Gentoo Authors
|
||||||
# Distributed under the terms of the GNU General Public License v2
|
# Distributed under the terms of the GNU General Public License v2
|
||||||
|
|
||||||
# @ECLASS: savedconfig.eclass
|
# @ECLASS: savedconfig.eclass
|
||||||
# @MAINTAINER:
|
# @MAINTAINER:
|
||||||
# base-system@gentoo.org
|
# base-system@gentoo.org
|
||||||
# @SUPPORTED_EAPIS: 5 6 7
|
# @SUPPORTED_EAPIS: 6 7 8
|
||||||
# @BLURB: common API for saving/restoring complex configuration files
|
# @BLURB: common API for saving/restoring complex configuration files
|
||||||
# @DESCRIPTION:
|
# @DESCRIPTION:
|
||||||
# It is not uncommon to come across a package which has a very fine
|
# It is not uncommon to come across a package which has a very fine
|
||||||
@ -35,7 +35,7 @@ inherit portability
|
|||||||
IUSE="savedconfig"
|
IUSE="savedconfig"
|
||||||
|
|
||||||
case ${EAPI} in
|
case ${EAPI} in
|
||||||
[5-7]) ;;
|
6|7|8) ;;
|
||||||
*) die "EAPI=${EAPI:-0} is not supported" ;;
|
*) die "EAPI=${EAPI:-0} is not supported" ;;
|
||||||
esac
|
esac
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user