diff options
author | Andreas Sturmlechner <asturm@gentoo.org> | 2021-04-03 13:01:24 +0200 |
---|---|---|
committer | Andreas Sturmlechner <asturm@gentoo.org> | 2021-04-04 20:54:59 +0200 |
commit | 451dd703eed2a615311bc3a3017e79a0a1005a09 (patch) | |
tree | e12458672b890d753a3d7bef17aee7410cf91217 /app-crypt/acme-sh | |
parent | app-backup/rear: Fix optfeature descriptions (diff) | |
download | gentoo-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/acme-sh')
-rw-r--r-- | app-crypt/acme-sh/acme-sh-2.8.8-r1.ebuild | 7 | ||||
-rw-r--r-- | app-crypt/acme-sh/acme-sh-9999.ebuild | 7 |
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 } |