Replace latest wget by curl

This commit is contained in:
MatMoul 2022-11-17 23:35:18 +01:00
parent 3a2642c8c3
commit 0d4ba0a045

2
lib
View file

@ -167,7 +167,7 @@ require(){
path=$(dirname $1) path=$(dirname $1)
mkdir -p $cachedir/$path 2> /dev/null mkdir -p $cachedir/$path 2> /dev/null
cd $cachedir/$path cd $cachedir/$path
wget $baseurl/$1 2> /dev/null curl -LO $baseurl/$1 2> /dev/null
fi fi
chmod $2 $cachedir/$1 chmod $2 $cachedir/$1
cd $cachedir cd $cachedir