From b4b47c69a8f10fb5dc335baf502ccbba63fe5f69 Mon Sep 17 00:00:00 2001 From: Tobias Powalowski Date: Thu, 29 Jul 2010 14:49:57 +0200 Subject: [PATCH] fixed torrent file creation --- usr/bin/mktorrent-archboot | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/usr/bin/mktorrent-archboot b/usr/bin/mktorrent-archboot index aaa05a588..24dc21d1b 100755 --- a/usr/bin/mktorrent-archboot +++ b/usr/bin/mktorrent-archboot @@ -14,10 +14,9 @@ archver="${1}" isofile="${2}" echo 'Creating webseeds...' -httpmirrorlist=$(wget http://www.archlinux.org/mirrorlist/i686/all/ -q -O - \ - | grep 'http://' \ +httpmirrorlist=$(wget http://www.archlinux.org/mirrorlist/all/http/ -q -O - \ | awk "{print \$3\"/iso/${archver}/\";}" \ - | sed -e 's#/$repo/os/i686##' \ + | sed -e 's#/$repo/os/$arch##' \ -e 's#\s*# -w#') echo 'Building torrent...'