This repository has been archived on 2024-03-28. You can view files and clone it, but cannot push or open issues or pull requests.
dotfiles/env/arch-linux/provision.d/10-install-yay.bash

12 lines
300 B
Bash
Raw Normal View History

2020-11-07 22:23:52 -06:00
#!/usr/bin/env bash
REPOSITORY_PATH="/tmp/provisioning"
2020-11-20 20:35:46 -06:00
sudo pacman -S --needed git base-devel
2020-11-07 22:23:52 -06:00
mkdir -p "$REPOSITORY_PATH"
rm -rf "$REPOSITORY_PATH/yay"
2020-11-20 20:35:46 -06:00
git clone https://aur.archlinux.org/yay.git "$REPOSITORY_PATH/yay"
cd "$REPOSITORY_PATH/yay"
2020-11-07 22:23:52 -06:00
makepkg -si
yay -S yay
rm -rf "$REPOSITORY_PATH/yay"