#!/bin/sh # Installs yay. [ "$UID" = "0" ] || exit 0 yaytmpdir=$(mktemp -d) git clone https://aur.archlinux.org/yay $yaytmpdir oldpwd=$(pwd) cd $yaytmpdir makepkg -si cd $oldpwd