use wget instead of curl to get file

This commit is contained in:
quenousimporte 2024-05-07 14:29:51 +02:00
parent c374167eb8
commit b6ae2cea5d
1 changed files with 3 additions and 2 deletions

View File

@ -1,2 +1,3 @@
tce-load -i libzstd
curl -u LOGIN:PASSWORD https://SERVER/PATH/$1
login=LOGIN
password=PASSWORD
wget --header 'Authorization: Basic '$(echo $login:$password|base64) https://SERVER/PATH/$1