Merge pull request #32 from ProbablyNotArtyom/master

changed all instances of wget to use curl
This commit is contained in:
MatMoul 2022-10-16 00:47:51 +02:00 committed by GitHub
commit 77212a287b
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

4
archdi
View file

@ -61,11 +61,11 @@ run(){
cp -r $pkgdir/* . >/dev/null
else
if [ "$pkgurl" == "" ]; then
wget -O lib $liburl 2>/dev/null
curl -L $liburl > lib
else
echo ""
echo "Downloading packages..."
wget -O pkg.tar $pkgurl 2>/dev/null
curl -L $pkgurl > pkg.tar
tar -xf pkg.tar
fi
fi