Send patches - preferably formatted by git format-patch - to patches at archlinux32 dot org.
summaryrefslogtreecommitdiff
path: root/al32-mktorrent.sh
diff options
context:
space:
mode:
Diffstat (limited to 'al32-mktorrent.sh')
-rwxr-xr-xal32-mktorrent.sh4
1 files changed, 3 insertions, 1 deletions
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"