1 |
--- |
2 |
eclass/ssl-cert.eclass | 9 +++++++-- |
3 |
1 file changed, 7 insertions(+), 2 deletions(-) |
4 |
|
5 |
diff --git a/eclass/ssl-cert.eclass b/eclass/ssl-cert.eclass |
6 |
index 36945be3cd6..e5dfbbb141c 100644 |
7 |
--- a/eclass/ssl-cert.eclass |
8 |
+++ b/eclass/ssl-cert.eclass |
9 |
@@ -6,7 +6,7 @@ |
10 |
# maintainer-needed@g.o |
11 |
# @AUTHOR: |
12 |
# Max Kalika <max@g.o> |
13 |
-# @SUPPORTED_EAPIS: 1 2 3 4 5 6 7 |
14 |
+# @SUPPORTED_EAPIS: 1 2 3 4 5 6 7 8 |
15 |
# @BLURB: Eclass for SSL certificates |
16 |
# @DESCRIPTION: |
17 |
# This eclass implements a standard installation procedure for installing |
18 |
@@ -19,13 +19,15 @@ case "${EAPI:-0}" in |
19 |
0) |
20 |
die "${ECLASS}.eclass: EAPI=0 is not supported. Please upgrade to EAPI >= 1." |
21 |
;; |
22 |
- 1|2|3|4|5|6|7) |
23 |
+ 1|2|3|4|5|6|7|8) |
24 |
;; |
25 |
*) |
26 |
die "${ECLASS}.eclass: EAPI=${EAPI} is not supported yet." |
27 |
;; |
28 |
esac |
29 |
|
30 |
+if [[ ! ${_SSL_CERT_ECLASS} ]]; then |
31 |
+ |
32 |
# @ECLASS-VARIABLE: SSL_CERT_MANDATORY |
33 |
# @PRE_INHERIT |
34 |
# @DESCRIPTION: |
35 |
@@ -283,3 +285,6 @@ install_cert() { |
36 |
ewarn "Some requested certificates were not generated" |
37 |
fi |
38 |
} |
39 |
+ |
40 |
+_SSL_CERT_ECLASS=1 |
41 |
+fi |
42 |
-- |
43 |
2.33.0 |