Update archbox.bash

This commit is contained in:
Lemniskett 2020-11-25 19:21:30 +07:00 committed by GitHub
parent 0055eb9636
commit 2a3098b049
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
while wget -O archlinux.tar.gz $2; do break; done while true; do wget -O archlinux.tar.gz $2 && break; done
msg "Extracting the tarball..." msg "Extracting the tarball..."
checkdep tar checkdep tar
tar xzf archlinux.tar.gz tar xzf archlinux.tar.gz