summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTom Barrett <tom@tombarrett.xyz>2020-06-04 18:33:56 +0200
committerTom Barrett <tom@tombarrett.xyz>2020-06-04 18:33:56 +0200
commit33a98d302795dea91f90b52693f04a820c765e6f (patch)
treee76e939bd228162acf56a525987d5699c07ae28e
parentcf99f786b776ca438078d24e4634ae4822b881f4 (diff)
better structure
-rw-r--r--arch/aur (renamed from yay)0
-rw-r--r--arch/mainline (renamed from pacman)0
-rwxr-xr-xarch/required17
3 files changed, 17 insertions, 0 deletions
diff --git a/yay b/arch/aur
index 9c45632..9c45632 100644
--- a/yay
+++ b/arch/aur
diff --git a/pacman b/arch/mainline
index 6dd41f1..6dd41f1 100644
--- a/pacman
+++ b/arch/mainline
diff --git a/arch/required b/arch/required
new file mode 100755
index 0000000..77251fc
--- /dev/null
+++ b/arch/required
@@ -0,0 +1,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