jamielinux pushed to nginx (f22). "Remove redundant scriptlet commands"

notifications at fedoraproject.org notifications at fedoraproject.org
Sun May 10 08:39:40 UTC 2015


From 88a0f4a6f16a3e3f24c51b28f5350c4d73aac33b Mon Sep 17 00:00:00 2001
From: Jamie Nguyen <j at jamielinux.com>
Date: Sun, 10 May 2015 09:13:18 +0100
Subject: Remove redundant scriptlet commands


diff --git a/nginx.spec b/nginx.spec
index bc27465..651da09 100644
--- a/nginx.spec
+++ b/nginx.spec
@@ -204,12 +204,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=f22&id=88a0f4a6f16a3e3f24c51b28f5350c4d73aac33b


More information about the scm-commits mailing list