From 650d31681adb8a95da3fe073d99382112b60e610 Mon Sep 17 00:00:00 2001 From: Todd Zullinger Date: Fri, 13 Jul 2018 18:27:56 -0400 Subject: Include contrib dir in docs The agefile setting is often used in combination with a post-receive hook. An example hook is included in contrib/hooks. --- cgit.spec | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/cgit.spec b/cgit.spec index 8a1f74e..85f59fa 100644 --- a/cgit.spec +++ b/cgit.spec @@ -119,6 +119,9 @@ EOF # remove env shebang's from filter scripts grep -rl '#!.*/env' filters/ | xargs -r sed -Ei 's@^(.+/)env (.+)$@\1\2@' +# remove execute permissions from contrib file +find contrib -type f | xargs -r chmod -x + # default httpd config cat > httpd.conf < - 1.2-1 - Update to 1.2 +- Include contrib dir in docs * Thu Jul 12 2018 Fedora Release Engineering - 1.1-12 - Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild -- cgit