mirror of
https://gitlab.archlinux.org/tpowa/archboot.git
synced 2024-09-20 03:50:37 +02:00
fixed torrent file creation
This commit is contained in:
parent
ef1cd1c228
commit
b4b47c69a8
1 changed files with 2 additions and 3 deletions
|
@ -14,10 +14,9 @@ archver="${1}"
|
||||||
isofile="${2}"
|
isofile="${2}"
|
||||||
|
|
||||||
echo 'Creating webseeds...'
|
echo 'Creating webseeds...'
|
||||||
httpmirrorlist=$(wget http://www.archlinux.org/mirrorlist/i686/all/ -q -O - \
|
httpmirrorlist=$(wget http://www.archlinux.org/mirrorlist/all/http/ -q -O - \
|
||||||
| grep 'http://' \
|
|
||||||
| awk "{print \$3\"/iso/${archver}/\";}" \
|
| awk "{print \$3\"/iso/${archver}/\";}" \
|
||||||
| sed -e 's#/$repo/os/i686##' \
|
| sed -e 's#/$repo/os/$arch##' \
|
||||||
-e 's#\s*# -w#')
|
-e 's#\s*# -w#')
|
||||||
|
|
||||||
echo 'Building torrent...'
|
echo 'Building torrent...'
|
||||||
|
|
Loading…
Reference in a new issue