diff options
author | Hans de Graaff <hans@degraaff.org> | 2019-04-13 20:06:56 +0200 |
---|---|---|
committer | Hans de Graaff <hans@degraaff.org> | 2019-04-13 20:06:56 +0200 |
commit | 1c4809fac6d3036483bcf9b63467d516d9def1aa (patch) | |
tree | bc205a1bf3444fd21e9a230869edc4fe1b4b585d /dev-vcs | |
parent | app-forensics/brakeman: cleanup (diff) | |
download | graaff-1c4809fac6d3036483bcf9b63467d516d9def1aa.tar.gz graaff-1c4809fac6d3036483bcf9b63467d516d9def1aa.tar.bz2 graaff-1c4809fac6d3036483bcf9b63467d516d9def1aa.zip |
dev-vcs/overcommit: install proper rights for hooks
Signed-off-by: Hans de Graaff <hans@degraaff.org>
Package-Manager: Portage-2.3.62, Repoman-2.3.11
Diffstat (limited to 'dev-vcs')
-rw-r--r-- | dev-vcs/overcommit/overcommit-0.47.0.ebuild | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/dev-vcs/overcommit/overcommit-0.47.0.ebuild b/dev-vcs/overcommit/overcommit-0.47.0.ebuild index 7cd26428..db9be97b 100644 --- a/dev-vcs/overcommit/overcommit-0.47.0.ebuild +++ b/dev-vcs/overcommit/overcommit-0.47.0.ebuild @@ -25,3 +25,12 @@ ruby_add_rdepend " >=dev-ruby/childprocess-0.6.3:2 >=dev-ruby/iniparse-1.4:1 " + +each_ruby_install() { + each_fakegem_install + + local hooks + hooks="$(ruby_fakegem_gemsdir)/gems/${RUBY_FAKEGEM_NAME}-${RUBY_FAKEGEM_VERSION}/template-dir/hooks" + + fperms 0755 "${hooks}"/* +} |