summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndreas Sturmlechner <asturm@gentoo.org>2021-04-03 13:01:24 +0200
committerAndreas Sturmlechner <asturm@gentoo.org>2021-04-04 20:54:59 +0200
commit451dd703eed2a615311bc3a3017e79a0a1005a09 (patch)
treee12458672b890d753a3d7bef17aee7410cf91217 /app-crypt
parentapp-backup/rear: Fix optfeature descriptions (diff)
downloadgentoo-451dd703eed2a615311bc3a3017e79a0a1005a09.tar.gz
gentoo-451dd703eed2a615311bc3a3017e79a0a1005a09.tar.bz2
gentoo-451dd703eed2a615311bc3a3017e79a0a1005a09.zip
app-crypt/acme-sh: Use optfeature_header() instead of custom elog
Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org>
Diffstat (limited to 'app-crypt')
-rw-r--r--app-crypt/acme-sh/acme-sh-2.8.8-r1.ebuild7
-rw-r--r--app-crypt/acme-sh/acme-sh-9999.ebuild7
2 files changed, 6 insertions, 8 deletions
diff --git a/app-crypt/acme-sh/acme-sh-2.8.8-r1.ebuild b/app-crypt/acme-sh/acme-sh-2.8.8-r1.ebuild
index 5d51ca8d03b0..a6b09a058aa2 100644
--- a/app-crypt/acme-sh/acme-sh-2.8.8-r1.ebuild
+++ b/app-crypt/acme-sh/acme-sh-2.8.8-r1.ebuild
@@ -45,8 +45,7 @@ src_install() {
}
pkg_postinst() {
- einfo "If you wish to use the webserver mode,"
- einfo "you need to install a supported web server."
- optfeature "using apache2 webserver mode." www-servers/apache
- optfeature "using nginx webserver mode." www-servers/nginx
+ optfeature_header "For webserver mode, install a supported web server:"
+ optfeature "using apache2 webserver mode" www-servers/apache
+ optfeature "using nginx webserver mode" www-servers/nginx
}
diff --git a/app-crypt/acme-sh/acme-sh-9999.ebuild b/app-crypt/acme-sh/acme-sh-9999.ebuild
index 1e6ca0155893..978b348479ac 100644
--- a/app-crypt/acme-sh/acme-sh-9999.ebuild
+++ b/app-crypt/acme-sh/acme-sh-9999.ebuild
@@ -41,8 +41,7 @@ src_install() {
}
pkg_postinst() {
- einfo "If you wish to use the webserver mode,"
- einfo "you need to install a supported web server."
- optfeature "using apache2 webserver mode." www-servers/apache
- optfeature "using nginx webserver mode." www-servers/nginx
+ optfeature_header "For webserver mode, install a supported web server:"
+ optfeature "using apache2 webserver mode" www-servers/apache
+ optfeature "using nginx webserver mode" www-servers/nginx
}