index : releng | |
Archlinux32 release engineering | gitolite user |
summaryrefslogtreecommitdiff |
author | Erich Eckner <git@eckner.net> | 2019-07-19 14:15:33 +0200 |
---|---|---|
committer | Erich Eckner <git@eckner.net> | 2019-07-19 14:15:33 +0200 |
commit | 93718d5bc0b09014a612cb34c13d1373047d3f3a (patch) | |
tree | ea7684a283ecf0ba98a10a11ec441526c2e1720f | |
parent | 0fe59192d10a5bf63de32d101c4b06ad780ba30b (diff) |
-rwxr-xr-x | al32-mktorrent.sh | 4 |
diff --git a/al32-mktorrent.sh b/al32-mktorrent.sh index c557e37..fcedce4 100755 --- a/al32-mktorrent.sh +++ b/al32-mktorrent.sh @@ -60,7 +60,9 @@ function create_torrent_for_arch () { done echo "${#available_mirrors[@]} mirrors available" - + if [ ${#available_mirrors[@]} -eq 0 ]; then + available_mirrors=($mirrorlist) + fi if [ ! -f "$iso_string" ] ; then echo -e "$fg_reset${fg_bold}Downloading iso...$fg_reset" |