public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
* [rpms/setup] update_services: bad ugly double-thirteen friday(fix previous badfix)
@ 2026-06-22 15:55 Ondrej Vasik
  0 siblings, 0 replies; only message in thread
From: Ondrej Vasik @ 2026-06-22 15:55 UTC (permalink / raw)
  To: git-commits

A new commit has been pushed.

Repo   : rpms/setup
Branch : update_services
Commit : 0a1b9d77c9861934a50ff35829a449b039084e5e
Author : Ondrej Vasik <ovasik@fedoraproject.org>
Date   : 2010-03-26T16:06:41+00:00
Stats  : +11/-14 in 2 file(s)
URL    : https://src.fedoraproject.org/rpms/setup/c/0a1b9d77c9861934a50ff35829a449b039084e5e?branch=update_services

Log:
bad ugly double-thirteen friday(fix previous badfix)

---
diff --git a/setup-cshpath.patch b/setup-cshpath.patch
index a9851af..07e9658 100644
--- a/setup-cshpath.patch
+++ b/setup-cshpath.patch
@@ -1,20 +1,14 @@
 diff -urNp setup-2.8.16-orig/csh.login setup-2.8.16/csh.login
 --- setup-2.8.16-orig/csh.login	2010-03-26 13:10:06.000000000 +0100
-+++ setup-2.8.16/csh.login	2010-03-26 16:36:11.000000000 +0100
-@@ -2,12 +2,10 @@
++++ setup-2.8.16/csh.login	2010-03-26 17:04:02.000000000 +0100
+@@ -2,7 +2,9 @@
  
  # System wide environment and startup programs, for login setup
  
 -if ($?PATH) then
--	if ( $uid == 0 ) then
--		setenv PATH "/sbin:/usr/sbin:/usr/local/sbin:/bin:/usr/bin:/usr/local/bin"
--	else
--		setenv PATH "/bin:/usr/bin:/usr/local/bin:/sbin:/usr/sbin:/usr/local/sbin"
--	endif
-+if ( $uid == 0 ) then
-+	setenv PATH "/sbin:/usr/sbin:/usr/local/sbin:/bin:/usr/bin:/usr/local/bin"
++if ( $?PATH ) then
++	#do not override user specified PATH
 +else
-+	setenv PATH "/bin:/usr/bin:/usr/local/bin:/sbin:/usr/sbin:/usr/local/sbin"
- endif
- 
- setenv HOSTNAME `/bin/hostname`
+ 	if ( $uid == 0 ) then
+ 		setenv PATH "/sbin:/usr/sbin:/usr/local/sbin:/bin:/usr/bin:/usr/local/bin"
+ 	else

diff --git a/setup.spec b/setup.spec
index 0a3b8b4..eab2cd2 100644
--- a/setup.spec
+++ b/setup.spec
@@ -1,7 +1,7 @@
 Summary: A set of system configuration and setup files
 Name: setup
 Version: 2.8.16
-Release: 2%{?dist}
+Release: 3%{?dist}
 License: Public Domain
 Group: System Environment/Base
 URL: https://fedorahosted.org/setup/
@@ -91,6 +91,9 @@ end
 %ghost %verify(not md5 size mtime) %config(noreplace,missingok) /etc/mtab
 
 %changelog
+* Fri Mar 26 2010 Ondrej Vasik <ovasik@redhat.com> 2.8.16-3
+- bad ugly double-thirteen friday(fix previous badfix)
+
 * Fri Mar 26 2010 Ondrej Vasik <ovasik@redhat.com> 2.8.16-2
 - fix not set path for csh shell caused by 2.8.16 update
 

^ permalink raw reply related	[flat|nested] only message in thread

only message in thread, other threads:[~2026-06-22 15:55 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-06-22 15:55 [rpms/setup] update_services: bad ugly double-thirteen friday(fix previous badfix) Ondrej Vasik

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox