From dab023e095c2105e953a793def056152cbba4dde Mon Sep 17 00:00:00 2001 From: Dave Reisner Date: Sun, 29 Aug 2010 15:44:44 -0400 Subject: [PATCH] Fix -t option with pacman 3.4 if $arch is found in the mirror URL, replace it with $ARCH, taken from abs.conf. --- abs | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/abs b/abs index 97669d7..7afc702 100755 --- a/abs +++ b/abs @@ -168,7 +168,7 @@ update_tarball() { ret=0 for mirror in ${mirrorlist[@]}; do - tarball=$(echo $mirror | sed "s#\$repo#$repo#") + tarball=$(echo $mirror | sed "s#\$repo#$repo#;s#\$arch#$ARCH#") tarball="${tarball}/${repo}.abs.tar.gz" protocol=$(echo $tarball | cut -f1 -d":") if [ "$protocol" == "file" ]; then -- 1.7.2.2