Skip to content

Commit

Permalink
app-crypt/acme-sh: Use optfeature_header() instead of custom elog
Browse files Browse the repository at this point in the history
Signed-off-by: Andreas Sturmlechner <[email protected]>
  • Loading branch information
a17r committed Apr 4, 2021
1 parent 7838119 commit 451dd70
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 8 deletions.
7 changes: 3 additions & 4 deletions app-crypt/acme-sh/acme-sh-2.8.8-r1.ebuild
Original file line number Diff line number Diff line change
Expand Up @@ -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
}
7 changes: 3 additions & 4 deletions app-crypt/acme-sh/acme-sh-9999.ebuild
Original file line number Diff line number Diff line change
Expand Up @@ -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
}

0 comments on commit 451dd70

Please sign in to comment.