mirror of
https://github.com/flatcar/scripts.git
synced 2025-08-10 06:26:57 +02:00
eclass/sgml-catalog-r1: Sync with Gentoo
It's from Gentoo commit 790bbc296c0607d3fdd1bc3ffcb374dd428a7a4f.
This commit is contained in:
parent
46c1a15ef8
commit
f0c067c725
@ -1,4 +1,4 @@
|
|||||||
# Copyright 2019-2023 Gentoo Authors
|
# Copyright 2019-2025 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: sgml-catalog-r1.eclass
|
# @ECLASS: sgml-catalog-r1.eclass
|
||||||
@ -6,14 +6,14 @@
|
|||||||
# Michał Górny <mgorny@gentoo.org>
|
# Michał Górny <mgorny@gentoo.org>
|
||||||
# @AUTHOR:
|
# @AUTHOR:
|
||||||
# Michał Górny <mgorny@gentoo.org>
|
# Michał Górny <mgorny@gentoo.org>
|
||||||
# @SUPPORTED_EAPIS: 7
|
# @SUPPORTED_EAPIS: 7 8
|
||||||
# @BLURB: Functions for installing SGML catalogs
|
# @BLURB: Functions for installing SGML catalogs
|
||||||
# @DESCRIPTION:
|
# @DESCRIPTION:
|
||||||
# This eclass regenerates /etc/sgml/catalog as necessary for the DocBook
|
# This eclass regenerates /etc/sgml/catalog as necessary for the DocBook
|
||||||
# tooling. This is done via exported pkg_postinst and pkg_postrm phases.
|
# tooling. This is done via exported pkg_postinst and pkg_postrm phases.
|
||||||
|
|
||||||
case ${EAPI} in
|
case ${EAPI} in
|
||||||
7) ;;
|
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