Update chr.sh

Signed-off-by: elseif <elseif@live.cn>
This commit is contained in:
elseif 2025-09-24 20:59:05 +08:00 committed by GitHub
parent befaa60509
commit 3c2e1197ce
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

2
chr.sh
View file

@ -179,7 +179,7 @@ download_image(){
curl -L -# -o /tmp/chr.img.zip "$IMG_URL" || { echo "$MSG_DOWNLOAD_FAILED"; exit 1; }
elif command -v wget >/dev/null 2>&1; then
wget -nv -O /tmp/chr.img.zip "$IMG_URL" || { echo "$MSG_DOWNLOAD_FAILED"; exit 1; }
el
else
echo "$MSG_DOWNLOAD_ERROR $IMG_URL"
exit 1
fi