diff --git a/main.sh b/main.sh index 6ca9dca..dba280a 100644 --- a/main.sh +++ b/main.sh @@ -23,3 +23,7 @@ include 'breeze/setup.sh' include 'neomutt/setup.sh' include 'repositories/setup.sh' + +if [[ "$TARGET_DISTRO" == 'arch' ]]; then + include 'yay/setup.sh' +fi diff --git a/yay/setup.sh b/yay/setup.sh new file mode 100644 index 0000000..219b899 --- /dev/null +++ b/yay/setup.sh @@ -0,0 +1,9 @@ +current_folder="$PWD" + +cd /tmp/ + +git clone https://aur.archlinux.org/yay.git +cd yay +makepkg -si + +cd "$current_folder"