SOURCES: util-vserver-pld.patch - do not be distro centric when up...

glen glen at pld-linux.org
Fri Mar 28 16:18:49 CET 2008


Author: glen                         Date: Fri Mar 28 15:18:49 2008 GMT
Module: SOURCES                       Tag: HEAD
---- Log message:
- do not be distro centric when updating _arch or _prefix macros

---- Files affected:
SOURCES:
   util-vserver-pld.patch (1.33 -> 1.34) 

---- Diffs:

================================================================
Index: SOURCES/util-vserver-pld.patch
diff -u SOURCES/util-vserver-pld.patch:1.33 SOURCES/util-vserver-pld.patch:1.34
--- SOURCES/util-vserver-pld.patch:1.33	Tue Mar 25 23:38:25 2008
+++ SOURCES/util-vserver-pld.patch	Fri Mar 28 16:18:43 2008
@@ -842,12 +842,12 @@
 +
 +	if [ -n "$SETUP_MACHINE" ]; then
 +		say "Using $SETUP_MACHINE as machine"
-+		sed -i -e "s#^\(_arch\s*\)=.*#\1= $SETUP_MACHINE#" "$PKGCFGDIR"/poldek/etc/repos.d/pld.conf
++		sed -i -e "s#^\(_arch\s*\)=.*#\1= $SETUP_MACHINE#" "$PKGCFGDIR"/poldek/etc/repos.d/*.conf
 +	fi
 +
 +	if [ -n "$MIRROR" ]; then
 +		say "Using $MIRROR as mirror URL"
-+		sed -i -e "s#^\(_prefix\s*\)=.*#\1= $MIRROR#" "$PKGCFGDIR"/poldek/etc/repos.d/pld.conf
++		sed -i -e "s#^\(_prefix\s*\)=.*#\1= $MIRROR#" "$PKGCFGDIR"/poldek/etc/repos.d/*.conf
 +	fi
 +
 +#    test -z "$POLDEKCONFDEFAULT" || \
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/SOURCES/util-vserver-pld.patch?r1=1.33&r2=1.34&f=u



More information about the pld-cvs-commit mailing list