packages: ies4linux/ies4linux.spec - rename $USER -> All Users

glen glen at pld-linux.org
Fri Jun 19 18:22:13 CEST 2009


Author: glen                         Date: Fri Jun 19 16:22:13 2009 GMT
Module: packages                      Tag: HEAD
---- Log message:
- rename $USER -> All Users

---- Files affected:
packages/ies4linux:
   ies4linux.spec (1.24 -> 1.25) 

---- Diffs:

================================================================
Index: packages/ies4linux/ies4linux.spec
diff -u packages/ies4linux/ies4linux.spec:1.24 packages/ies4linux/ies4linux.spec:1.25
--- packages/ies4linux/ies4linux.spec:1.24	Thu Mar 12 23:09:49 2009
+++ packages/ies4linux/ies4linux.spec	Fri Jun 19 18:22:08 2009
@@ -616,7 +616,6 @@
 cp %{SOURCE4} ie7
 %endif
 
-
 %install
 rm -rf $RPM_BUILD_ROOT
 install -d $RPM_BUILD_ROOT{%{_desktopdir},%{_bindir},%{_pixmapsdir}}
@@ -706,6 +705,13 @@
 
 	if [ ! -d $RPM_BUILD_ROOT%{_installdir}/profiles ]; then
 		install -d $RPM_BUILD_ROOT%{_installdir}/profiles
+
+		# somewhy it is created as $USER not "All Users" with wine-1.1.22
+		USER=$(id -un)
+		if  [ "$RPM_BUILD_ROOT%{_installdir}/$LOCALE/ie6/drive_c/windows/profiles/$USER" ]; then
+			mv "$RPM_BUILD_ROOT%{_installdir}/$LOCALE/ie6/drive_c/windows/profiles/"{$USER,"All Users"}
+		fi
+
 		cp -a "$RPM_BUILD_ROOT%{_installdir}/$LOCALE/ie6/drive_c/windows/profiles/All Users" \
 			$RPM_BUILD_ROOT%{_installdir}/profiles
 	fi
@@ -938,6 +944,9 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.25  2009/06/19 16:22:08  glen
+- rename $USER -> All Users
+
 Revision 1.24  2009/03/12 22:09:49  glen
 - preserve $TERM
 
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/packages/ies4linux/ies4linux.spec?r1=1.24&r2=1.25&f=u



More information about the pld-cvs-commit mailing list