mirror of
https://github.com/flatcar/scripts.git
synced 2025-08-15 17:06:58 +02:00
eclass/xdg-utils: Support EAPI 0 and 4
This commit is contained in:
parent
d69116590f
commit
7a47eaae7c
@ -1,13 +1,15 @@
|
|||||||
# 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: xdg-utils.eclass
|
# @ECLASS: xdg-utils.eclass
|
||||||
# @MAINTAINER:
|
# @MAINTAINER:
|
||||||
# gnome@gentoo.org
|
# gnome@gentoo.org
|
||||||
# freedesktop-bugs@gentoo.org
|
# freedesktop-bugs@gentoo.org
|
||||||
# @AUTHOR:
|
# @AUTHOR:
|
||||||
# Original author: Gilles Dartiguelongue <eva@gentoo.org>
|
# Original author: Gilles Dartiguelongue <eva@gentoo.org>
|
||||||
# @SUPPORTED_EAPIS: 5 6 7 8
|
# @SUPPORTED_EAPIS: 0 4 5 6 7 8
|
||||||
# @BLURB: Auxiliary functions commonly used by XDG compliant packages.
|
# @BLURB: Auxiliary functions commonly used by XDG compliant packages.
|
||||||
# @DESCRIPTION:
|
# @DESCRIPTION:
|
||||||
# This eclass provides a set of auxiliary functions needed by most XDG
|
# This eclass provides a set of auxiliary functions needed by most XDG
|
||||||
@ -17,8 +19,8 @@
|
|||||||
# * XDG .desktop files cache management
|
# * XDG .desktop files cache management
|
||||||
# * XDG mime information database management
|
# * XDG mime information database management
|
||||||
|
|
||||||
case ${EAPI} in
|
case ${EAPI:-0} in
|
||||||
5|6|7|8) ;;
|
0|4|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