Files
lnx-arch/scripts/99_yay.sh
tuxwarrior 98f40fd0bc u
2024-05-01 16:21:03 -05:00

20 lines
291 B
Bash

#!/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
rm -rf /tmp/yay
cd /tmp
git clone https://aur.archlinux.org/yay.git
cd /tmp/yay
su poq makepkg -si
su poq yay --version