Use curl for downloading instead of wget as it is more commonly installed.
parent
168495dd5d
commit
de4f1a67fe
|
@ -26,6 +26,10 @@ pip3_install() {
|
||||||
pip3 install --user -U "$@"
|
pip3 install --user -U "$@"
|
||||||
}
|
}
|
||||||
|
|
||||||
|
download() {
|
||||||
|
curl -L "$@"
|
||||||
|
}
|
||||||
|
|
||||||
###
|
###
|
||||||
|
|
||||||
# Actual package installation code from here
|
# Actual package installation code from here
|
||||||
|
@ -54,7 +58,7 @@ if has_tags pm:pacman; then
|
||||||
(
|
(
|
||||||
dir="$(mktemp -d)"
|
dir="$(mktemp -d)"
|
||||||
cd "${dir}"
|
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
|
makepkg -sri --noconfirm
|
||||||
cd
|
cd
|
||||||
rm -rf "${dir}"
|
rm -rf "${dir}"
|
||||||
|
|
Loading…
Reference in New Issue