packages: setup/setup-zsh.patch, setup/setup.spec - rel 3; use gotar fix

arekm arekm at pld-linux.org
Fri Feb 25 07:32:33 CET 2011


Author: arekm                        Date: Fri Feb 25 06:32:33 2011 GMT
Module: packages                      Tag: HEAD
---- Log message:
- rel 3; use gotar fix

---- Files affected:
packages/setup:
   setup-zsh.patch (1.1 -> 1.2) , setup.spec (1.160 -> 1.161) 

---- Diffs:

================================================================
Index: packages/setup/setup-zsh.patch
diff -u packages/setup/setup-zsh.patch:1.1 packages/setup/setup-zsh.patch:1.2
--- packages/setup/setup-zsh.patch:1.1	Thu Feb 24 20:24:01 2011
+++ packages/setup/setup-zsh.patch	Fri Feb 25 07:32:27 2011
@@ -1,28 +1,17 @@
-Index: profile
+Index: etc/profile
 ===================================================================
 RCS file: /cvsroot/setup/etc/profile,v
 retrieving revision 1.55
-retrieving revision 1.56
-diff -u -u -r1.55 -r1.56
+retrieving revision 1.57
+diff -u -u -r1.55 -r1.57
 --- setup/etc/profile	22 Jan 2011 20:08:54 -0000	1.55
-+++ setup/etc/profile	24 Feb 2011 19:17:44 -0000	1.56
-@@ -128,7 +128,18 @@
++++ setup/etc/profile	24 Feb 2011 23:07:56 -0000	1.57
+@@ -128,7 +128,7 @@
  				;;
  			* )
  				if [ -r "$i" ]; then
 -					. "$i"; export "$NAME"
-+					. "$i"
-+					# export VAR will set and export VAR
-+					# if it didn't exist before. Other shells
-+					# (ksh, bash) behave differently.
-+					if [ -n "$ZSH_VERSION" ]; then
-+						# zsh specific
-+						if [ "${(P)+NAME}" = "1" ]; then
-+							export "$NAME"
-+						fi
-+					else
-+						export "$NAME"
-+					fi
++					. "$i"; eval [ '"${'"$NAME"'+X}"' = 'X' ] && export $NAME
  				fi
  				;;
  		esac

================================================================
Index: packages/setup/setup.spec
diff -u packages/setup/setup.spec:1.160 packages/setup/setup.spec:1.161
--- packages/setup/setup.spec:1.160	Thu Feb 24 20:24:01 2011
+++ packages/setup/setup.spec	Fri Feb 25 07:32:27 2011
@@ -15,7 +15,7 @@
 Summary(tr.UTF-8):	Basit kurulum dosyaları
 Name:		setup
 Version:	2.7.3
-Release:	2
+Release:	3
 License:	Public Domain, partially BSD-like
 Group:		Base
 Source0:	%{name}-%{version}.tar.bz2
@@ -162,6 +162,9 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.161  2011/02/25 06:32:27  arekm
+- rel 3; use gotar fix
+
 Revision 1.160  2011/02/24 19:24:01  arekm
 - rel 2; export var in zsh only if var is set
 
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/packages/setup/setup-zsh.patch?r1=1.1&r2=1.2&f=u
    http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/packages/setup/setup.spec?r1=1.160&r2=1.161&f=u



More information about the pld-cvs-commit mailing list