jamielinux pushed to nginx (epel7). "Remove redundant commands from %post"

notifications at fedoraproject.org notifications at fedoraproject.org
Sun May 10 09:19:23 UTC 2015


From fc84ebd99ddfcf1dabefddd31a22dcec5bebde12 Mon Sep 17 00:00:00 2001
From: Jamie Nguyen <j at jamielinux.com>
Date: Sun, 10 May 2015 10:04:05 +0100
Subject: Remove redundant commands from %post


diff --git a/nginx.spec b/nginx.spec
index 96624c1..09e22e8 100644
--- a/nginx.spec
+++ b/nginx.spec
@@ -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
-- 
cgit v0.10.2


	http://pkgs.fedoraproject.org/cgit/nginx.git/commit/?h=epel7&id=fc84ebd99ddfcf1dabefddd31a22dcec5bebde12


More information about the scm-commits mailing list