mirror of
https://github.com/community-scripts/ProxmoxVE.git
synced 2026-05-18 06:35:03 +00:00
tools.func: replace max-time with speed-limit stall detection in curl_download (#14545)
* tools.func: replace max-time with speed-limit stall detection in curl_download * Refactor curl_download function for improved readability and remove unnecessary whitespace
This commit is contained in:
committed by
GitHub
parent
8f1c4a27a6
commit
f7a69ac92d
@@ -30,7 +30,7 @@ msg_ok "Installed Dependencies"
|
||||
|
||||
msg_info "Setup NextPVR (Patience)"
|
||||
cd /opt
|
||||
curl -fsSL "https://nextpvr.com/nextpvr-helper.deb" -o "/opt/nextpvr-helper.deb"
|
||||
curl_download "/opt/nextpvr-helper.deb" "https://nextpvr.com/nextpvr-helper.deb"
|
||||
$STD dpkg -i nextpvr-helper.deb
|
||||
rm -rf /opt/nextpvr-helper.deb
|
||||
msg_ok "Installed NextPVR"
|
||||
|
||||
Reference in New Issue
Block a user