#!/usr/bin/env bash # klevstul # https://itsfoss.com/install-yay-arch-linux/ echo "<< 99_yay.sh >>" if [ "$EUID" -ne 0 ] then echo "error: run as 'root'" exit fi cd /tmp git clone https://aur.archlinux.org/yay.git cd /tmp/yay makepkg -si yay --version