Use full paths in krb5.sh to avoid path lookups

This commit is contained in:
Matthias Clasen 2006-01-19 18:05:28 +00:00
parent 29b9703f11
commit a6fb2997f1
2 changed files with 7 additions and 4 deletions

View File

@ -1,8 +1,8 @@
if ! echo ${PATH} | grep -q /usr/kerberos/bin ; then
if ! echo ${PATH} | /bin/grep -q /usr/kerberos/bin ; then
PATH=/usr/kerberos/bin:${PATH}
fi
if ! echo ${PATH} | grep -q /usr/kerberos/sbin ; then
if [ `id -u` = 0 ] ; then
if ! echo ${PATH} | /bin/grep -q /usr/kerberos/sbin ; then
if [ `/usr/bin/id -u` = 0 ] ; then
PATH=/usr/kerberos/sbin:${PATH}
fi
fi

View File

@ -10,7 +10,7 @@
Summary: The Kerberos network authentication system.
Name: krb5
Version: 1.4.3
Release: 1.1
Release: 2
# Maybe we should explode from the now-available-to-everybody tarball instead?
# http://web.mit.edu/kerberos/dist/krb5/1.4/krb5-1.4.2-signed.tar
Source0: krb5-%{version}.tar.gz
@ -135,6 +135,9 @@ network uses Kerberos, this package should be installed on every
workstation.
%changelog
* Thu Jan 19 2006 Matthias Clasen <mclasen@redhat.com> 1.4.3-2
- Use full paths in krb5.sh to avoid path lookups
* Fri Dec 09 2005 Jesse Keating <jkeating@redhat.com>
- rebuilt