summaryrefslogtreecommitdiff
path: root/arch/required
blob: 77251fc2fee8ded89fb95e0ba43c4974fd547312 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
#!/bin/bash
# run as root
pacman -S --needed - < mainline

useradd tom
mkdir /home/tom

mkdir /home/tom/yay
git clone https://aur.archlinux.org/yay-bin.git /home/tom/yay

chown tom:tom -R /home/tom

cd /home/tom/yay && sudo -u tom makepkg -si --noconfirm

sudo -u tom yay -Syu --noconfirm

sudo -u tom yay -S --needed - < aur