mirror of
https://github.com/Kron4ek/Conty
synced 2024-12-26 09:58:38 +01:00
Fix bootstraps downloading
New releases are packed in tar.zst.
This commit is contained in:
parent
ecc47946da
commit
1004a52816
1 changed files with 3 additions and 3 deletions
|
@ -246,7 +246,7 @@ bootstrap_urls=("mirror.f4st.host" \
|
|||
echo "Downloading Arch Linux bootstrap"
|
||||
|
||||
for link in "${bootstrap_urls[@]}"; do
|
||||
curl -#LO "https://${link}/archlinux/iso/latest/archlinux-bootstrap-x86_64.tar.gz"
|
||||
curl -#LO "https://${link}/archlinux/iso/latest/archlinux-bootstrap-x86_64.tar.zst"
|
||||
curl -#LO "https://${link}/archlinux/iso/latest/sha256sums.txt"
|
||||
|
||||
if [ -s sha256sums.txt ]; then
|
||||
|
@ -268,8 +268,8 @@ if [ -z "${bootstrap_is_good}" ]; then
|
|||
fi
|
||||
|
||||
rm -rf "${bootstrap}"
|
||||
tar xf archlinux-bootstrap-x86_64.tar.gz
|
||||
rm archlinux-bootstrap-x86_64.tar.gz sha256sums.txt sha256.txt
|
||||
tar xf archlinux-bootstrap-x86_64.tar.zst
|
||||
rm archlinux-bootstrap-x86_64.tar.zst sha256sums.txt sha256.txt
|
||||
|
||||
mount_chroot
|
||||
|
||||
|
|
Loading…
Reference in a new issue