commit:     36368d5ac815bf1a01e8de4887c9ec851cb596a8
Author:     Thomas Deutschmann <whissi <AT> gentoo <DOT> org>
AuthorDate: Sat Jul  6 10:39:43 2019 +0000
Commit:     Thomas Deutschmann <whissi <AT> gentoo <DOT> org>
CommitDate: Sat Jul  6 10:43:04 2019 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=36368d5a

app-crypt/dehydrated: install hook.sh with chmod u+x by default

Although we do not enable hook.sh by default, we install it at least.
So make sure we set correct permission to avoid errors like

  /usr/bin/dehydrated: line 91: /etc/dehydrated/hook.sh: Permission denied

when user will enable hook.sh usage.

Package-Manager: Portage-2.3.68, Repoman-2.3.16
Signed-off-by: Thomas Deutschmann <whissi <AT> gentoo.org>

 app-crypt/dehydrated/dehydrated-0.6.5.ebuild | 1 +
 1 file changed, 1 insertion(+)

diff --git a/app-crypt/dehydrated/dehydrated-0.6.5.ebuild 
b/app-crypt/dehydrated/dehydrated-0.6.5.ebuild
index 0e0ffeaaf3b..4a5cbf642f1 100644
--- a/app-crypt/dehydrated/dehydrated-0.6.5.ebuild
+++ b/app-crypt/dehydrated/dehydrated-0.6.5.ebuild
@@ -30,6 +30,7 @@ src_install() {
        dobin "${PN}"
        insinto "/etc/${PN}"
        doins docs/examples/{config,domains.txt,hook.sh}
+       fperms u+x "/etc/${PN}/hook.sh"
        dodoc docs/*.md
 
        insinto /etc/"${PN}"/config.d

Reply via email to