Use curl for downloading instead of wget as it is more commonly installed.

master
Icedream 2018-02-18 01:12:21 +01:00
parent 168495dd5d
commit de4f1a67fe
Signed by: icedream
GPG Key ID: 1573F6D8EFE4D0CF
1 changed files with 5 additions and 1 deletions

View File

@ -26,6 +26,10 @@ pip3_install() {
pip3 install --user -U "$@"
}
download() {
curl -L "$@"
}
###
# Actual package installation code from here
@ -54,7 +58,7 @@ if has_tags pm:pacman; then
(
dir="$(mktemp -d)"
cd "${dir}"
wget https://aur.archlinux.org/cgit/aur.git/snapshot/yay.tar.gz -O- | tar -xz --strip=1
download https://aur.archlinux.org/cgit/aur.git/snapshot/yay.tar.gz | tar -xz --strip=1
makepkg -sri --noconfirm
cd
rm -rf "${dir}"