improved pre script (#187217) - added group switch
This commit is contained in:
parent
9226fec8ed
commit
0e1be717fc
@ -5,7 +5,7 @@
|
||||
Summary: The Squid proxy caching server.
|
||||
Name: squid
|
||||
Version: 2.5.STABLE13
|
||||
Release: 2
|
||||
Release: 3
|
||||
Epoch: 7
|
||||
License: GPL
|
||||
Group: System Environment/Daemons
|
||||
@ -201,7 +201,7 @@ rm -rf $RPM_BUILD_ROOT
|
||||
%{_libdir}/squid/*
|
||||
|
||||
%pre
|
||||
if getent passwd squid >/dev/null 2>&1 ; then : ; else /usr/sbin/useradd -u 23 -d /var/spool/squid -r -s /sbin/nologin squid >/dev/null 2>&1 || exit 1 ; fi
|
||||
if getent passwd squid >/dev/null 2>&1 ; then : ; else /usr/sbin/useradd -g 23 -u 23 -d /var/spool/squid -r -s /sbin/nologin squid >/dev/null 2>&1 || exit 1 ; fi
|
||||
|
||||
for i in /var/log/squid /var/spool/squid ; do
|
||||
if [ -d $i ] ; then
|
||||
@ -321,6 +321,9 @@ fi
|
||||
chgrp squid /var/cache/samba/winbindd_privileged > /dev/null 2>& 1 || true
|
||||
|
||||
%changelog
|
||||
* Wed Mar 29 2006 Martin Stransky <stransky@redhat.com> - 7:2.5.STABLE13-3
|
||||
- improved pre script (#187217) - added group switch
|
||||
|
||||
* Thu Mar 23 2006 Martin Stransky <stransky@redhat.com> - 7:2.5.STABLE13-2
|
||||
- removed "--with-large-files" on 64bit arches
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user