Compability with busybox and failsafe

This commit is contained in:
Lemniskett 2020-11-25 19:06:00 +07:00 committed by GitHub
parent 350ec460e5
commit 0055eb9636
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -50,7 +50,7 @@ case $1 in
cd $INSTALL_PATH cd $INSTALL_PATH
msg "Downloading Arch Linux tarball..." msg "Downloading Arch Linux tarball..."
checkdep wget checkdep wget
wget -q --show-progress -O archlinux.tar.gz $2 while wget -O archlinux.tar.gz $2; do break; done
msg "Extracting the tarball..." msg "Extracting the tarball..."
checkdep tar checkdep tar
tar xzf archlinux.tar.gz tar xzf archlinux.tar.gz