Remove redundant commands from %post

This commit is contained in:
Jamie Nguyen 2015-05-10 10:04:05 +01:00
parent 8b3545a6ae
commit fc84ebd99d
1 changed files with 0 additions and 6 deletions

View File

@ -202,12 +202,6 @@ exit 0
%post
%systemd_post nginx.service
if [ $1 -eq 2 ]; then
# Make sure these directories are not world readable.
chmod 700 %{nginx_home}
chmod 700 %{nginx_home_tmp}
chmod 700 %{nginx_logdir}
fi
%preun
%systemd_preun nginx.service