]> git.pld-linux.org Git - packages/apache1-mod_gzip.git/commitdiff
- umask in scripts, other fixes/cosmetics where needed
authorJakub Bogusz <qboosh@pld-linux.org>
Sun, 29 Dec 2002 01:44:28 +0000 (01:44 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    apache1-mod_gzip.spec -> 1.16

apache1-mod_gzip.spec

index a304d65f865ce337fa84038c34bb343051a56e3e..f45553b14b7bb0b19466ee215a0c28217287879d 100644 (file)
@@ -18,6 +18,8 @@ BuildRequires:        %{apxs}
 BuildRequires: apache(EAPI)-devel
 BuildRequires: zlib-devel
 Requires(post,preun):  %{apxs}
+Requires(post,preun):  grep
+Requires(preun):       fileutils
 Requires:      apache(EAPI)
 BuildRoot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
@@ -64,6 +66,7 @@ fi
 %preun
 if [ "$1" = "0" ]; then
        %{apxs} -e -A -n %{mod_name} %{_pkglibdir}/mod_%{mod_name}.so 1>&2
+       umask 027
        grep -v "^Include.*mod_gzip.conf" /etc/httpd/httpd.conf > \
                 /etc/httpd/httpd.conf.tmp
         mv -f /etc/httpd/httpd.conf.tmp /etc/httpd/httpd.conf
This page took 0.087674 seconds and 4 git commands to generate.