Replace latest wget by curl
This commit is contained in:
parent
3a2642c8c3
commit
0d4ba0a045
1 changed files with 1 additions and 1 deletions
2
lib
2
lib
|
@ -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
|
||||||
|
|
Loading…
Reference in a new issue