From: Elan Ruusamäe Date: Fri, 28 Mar 2008 15:18:43 +0000 (+0000) Subject: - do not be distro centric when updating _arch or _prefix macros X-Git-Tag: auto/ac/util-vserver-0_30_214-4~1 X-Git-Url: http://git.pld-linux.org/?p=packages%2Futil-vserver.git;a=commitdiff_plain;h=9e5c53595730611f4bb9f28969e9ab79e54dc6c2 - do not be distro centric when updating _arch or _prefix macros Changed files: util-vserver-pld.patch -> 1.34 --- diff --git a/util-vserver-pld.patch b/util-vserver-pld.patch index a112e1f..a66b7d3 100644 --- a/util-vserver-pld.patch +++ b/util-vserver-pld.patch @@ -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" || \