Added almost everything
This commit is contained in:
parent
fca3b93dd5
commit
03a9749b46
15 changed files with 135 additions and 0 deletions
14
3-post-reboot/aur.sh
Executable file
14
3-post-reboot/aur.sh
Executable file
|
@ -0,0 +1,14 @@
|
|||
echo 'Install yay.'
|
||||
sudo pacman -S --needed base base-devel wget --noconfirm
|
||||
mkdir -p /home/afonso/git/yay
|
||||
tmpdir="/home/afonso/git/yay"
|
||||
command cd "${tmpdir}" || return 1
|
||||
dl_url="$(
|
||||
command curl -sfLS 'https://api.github.com/repos/Jguer/yay/releases/latest' | grep 'browser_download_url' | tail -1 | cut -d \" -f 4
|
||||
)"
|
||||
command wget "${dl_url}"
|
||||
command tar xzvf yay_*_x86_64.tar.gz
|
||||
command cd yay_*_x86_64 || return 1
|
||||
./yay -Sy yay-bin --noconfirm
|
||||
rm -rf "${tmpdir}"
|
||||
|
Loading…
Add table
Add a link
Reference in a new issue