]> git.pld-linux.org Git - packages/util-vserver.git/commitdiff
- do not be distro centric when updating _arch or _prefix macros
authorElan Ruusamäe <glen@pld-linux.org>
Fri, 28 Mar 2008 15:18:43 +0000 (15:18 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    util-vserver-pld.patch -> 1.34

util-vserver-pld.patch

index a112e1fbc7e0097071ce33b17c69c389c0371400..a66b7d32b367c932c368a3c77d18aa1bfb8b9eca 100644 (file)
 +
 +      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" || \
This page took 0.038695 seconds and 4 git commands to generate.