tools.func: replace max-time with speed-limit stall detection in curl_download

This commit is contained in:
MickLesk
2026-05-16 23:25:15 +02:00
parent b05fd7889b
commit b555ead288
12 changed files with 42 additions and 33 deletions
+1 -1
View File
@@ -50,7 +50,7 @@ if [[ ! "$CONFIRM" =~ ^([yY][eE][sS]|[yY])$ ]]; then
fi
msg_info "Installing Kasm Workspaces"
curl -fsSL -o "/opt/kasm_release_${KASM_VERSION}.tar.gz" "$KASM_URL"
curl_download "/opt/kasm_release_${KASM_VERSION}.tar.gz" "$KASM_URL"
cd /opt
tar -xf "kasm_release_${KASM_VERSION}.tar.gz"
chmod +x /opt/kasm_release/install.sh