summaryrefslogtreecommitdiff
path: root/eclass/font.eclass
diff options
context:
space:
mode:
authorV3n3RiX <venerix@redcorelinux.org>2018-09-21 18:00:10 +0100
committerV3n3RiX <venerix@redcorelinux.org>2018-09-21 18:00:10 +0100
commit265dbe5dbc14c199299496c6db8fce3f76647015 (patch)
treeab18b5617d138f6684566b619405090989d55a2c /eclass/font.eclass
parent586819755b4dbfdffdc8a725ab7c0f86095b8489 (diff)
gentoo resync : 21.09.2018
Diffstat (limited to 'eclass/font.eclass')
-rw-r--r--eclass/font.eclass5
1 files changed, 5 insertions, 0 deletions
diff --git a/eclass/font.eclass b/eclass/font.eclass
index 7214c99854a7..513be3981c3c 100644
--- a/eclass/font.eclass
+++ b/eclass/font.eclass
@@ -6,6 +6,11 @@
# fonts@gentoo.org
# @BLURB: Eclass to make font installation uniform
+case ${EAPI:-0} in
+ 0|1|2|3|4|5|6) ;;
+ *) die "EAPI ${EAPI} is not supported by font.eclass." ;;
+esac
+
inherit eutils
EXPORT_FUNCTIONS pkg_setup src_install pkg_postinst pkg_postrm