Make example scripts in documentation executable (RHEL).

Addresses bug #3053 at http://sogo.nu/bugs/view.php?id=3053
pull/206/head
Patrice Levesque 2016-04-11 14:23:02 -04:00
parent 1f029c9c70
commit e88ce682f3
1 changed files with 3 additions and 0 deletions

View File

@ -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