[krb5-appl] - revert pathmunge-related changes because pathmunge() isn't always there if we've upgraded or anyth

Nalin Dahyabhai nalin at fedoraproject.org
Mon Sep 13 15:09:59 UTC 2010


commit 4570af1ff901d29dccfa763ef24c091f41138050
Author: Nalin Dahyabhai <nalin at redhat.com>
Date:   Mon Sep 13 11:01:17 2010 -0400

    - revert pathmunge-related changes because pathmunge() isn't always there if we've upgraded or anything weird's happened (#633212)

 krb5-appl.spec |    6 +++++-
 krb5.sh        |    7 ++++++-
 2 files changed, 11 insertions(+), 2 deletions(-)
---
diff --git a/krb5-appl.spec b/krb5-appl.spec
index 54512e4..ae3dd72 100644
--- a/krb5-appl.spec
+++ b/krb5-appl.spec
@@ -10,7 +10,7 @@
 Summary: Kerberos-aware versions of telnet, ftp, rsh, and rlogin
 Name: krb5-appl
 Version: 1.0.1
-Release: 3%{?dist}
+Release: 4%{?dist}
 # Maybe we should explode from the now-available-to-everybody tarball instead?
 # http://web.mit.edu/kerberos/dist/krb5-appl/1.0/krb5-appl-1.0.1-signed.tar
 Source0: krb5-appl-%{version}.tar.gz
@@ -253,6 +253,10 @@ exit 0
 %{krb5prefix}/man/man8/telnetd.8*
 
 %changelog
+* Mon Sep 13 2010 Nalin Dahyabhai <nalin at redhat.com> - 1.0.1-4
+- revert pathmunge-related changes because pathmunge() isn't always there
+  if we've upgraded or anything weird's happened (#633212)
+
 * Fri Sep 10 2010 Nalin Dahyabhai <nalin at redhat.com> - 1.0.1-3
 - krshd: don't limit user names to 16 chars when utmp can handle names
   at least a bit longer than that (#611713, RT#6773)
diff --git a/krb5.sh b/krb5.sh
index ada4d1c..760c0b3 100644
--- a/krb5.sh
+++ b/krb5.sh
@@ -1 +1,6 @@
-pathmunge /usr/kerberos/bin
+if ! echo ${PATH} | /bin/grep -q /usr/kerberos/bin ; then
+	PATH=/usr/kerberos/bin:${PATH}
+fi
+if ! echo ${PATH} | /bin/grep -q /usr/kerberos/sbin ; then
+	PATH=/usr/kerberos/sbin:${PATH}
+fi


More information about the scm-commits mailing list