makepkg is annoying
This commit is contained in:
parent
c0ac367326
commit
c8c5165c99
1 changed files with 4 additions and 1 deletions
|
@ -20,9 +20,12 @@ runs:
|
||||||
args: |
|
args: |
|
||||||
-euo pipefail -c '
|
-euo pipefail -c '
|
||||||
pacman -Syu --noconfirm git
|
pacman -Syu --noconfirm git
|
||||||
(cd ~; git clone https://aur.archlinux.org/yay.git; cd yay; makepkg -si --noconfirm)
|
|
||||||
useradd -m user
|
useradd -m user
|
||||||
echo "user ALL=(ALL:ALL) NOPASSWD: ALL" >/etc/sudoers.d/user
|
echo "user ALL=(ALL:ALL) NOPASSWD: ALL" >/etc/sudoers.d/user
|
||||||
|
|
||||||
|
sudo -u user -- bash -c "cd ~ && git clone https://aur.archlinux.org/yay.git && cd yay && makepkg -si --noconfirm"
|
||||||
|
|
||||||
chmod 777 .
|
chmod 777 .
|
||||||
sudo -u user -- PACMAN=yay makepkg -s --noconfirm
|
sudo -u user -- PACMAN=yay makepkg -s --noconfirm
|
||||||
'
|
'
|
||||||
|
|
Loading…
Reference in a new issue