From: Stefan Schantl Date: Sat, 18 Mar 2023 14:05:20 +0000 (+0100) Subject: git: Hook examples should not be executeable X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=a7c62c012bc7eecf4a66e0662b0ad9186199acb2;p=people%2Fstevee%2Fipfire-3.x.git git: Hook examples should not be executeable Signed-off-by: Stefan Schantl --- diff --git a/git/git.nm b/git/git.nm index b3b5f789b..adb785081 100644 --- a/git/git.nm +++ b/git/git.nm @@ -5,7 +5,7 @@ name = git version = 2.38.1 -release = 3 +release = 4 groups = Development/Tools url = http://git-scm.com/ @@ -96,6 +96,10 @@ build rm -rvf %{BUILDROOT}/usr/lib/git-core/*p4* rm -rvf %{BUILDROOT}/usr/lib/git-core/mergetools/p4* rm -rvf %{BUILDROOT}%{mandir}/man1/*p4* + + # Fix file permissions of the hook examples. + find %{BUILDROOT}%{datadir}/git-core/ -type f -iname "*.sample" \ + -exec chmod 644 {} \; end end