From e88ce682f3b5bf60f78b16127707b5e328228e92 Mon Sep 17 00:00:00 2001 From: Patrice Levesque Date: Mon, 11 Apr 2016 14:23:02 -0400 Subject: [PATCH] Make example scripts in documentation executable (RHEL). Addresses bug #3053 at http://sogo.nu/bugs/view.php?id=3053 --- packaging/rhel/sogo.spec | 3 +++ 1 file changed, 3 insertions(+) diff --git a/packaging/rhel/sogo.spec b/packaging/rhel/sogo.spec index 925876a38..fb913c1c7 100644 --- a/packaging/rhel/sogo.spec +++ b/packaging/rhel/sogo.spec @@ -394,6 +394,9 @@ fi %post # update timestamp on imgs,css,js to let apache know the files changed find %{_libdir}/GNUstep/SOGo/WebServerResources -exec touch {} \; +# make shells scripts in documentation directory executable +find %{_docdir}/ -name '*.sh' -exec chmod a+x {} \; + %if 0%{?_with_systemd} systemctl daemon-reload systemctl enable sogod