From 01ee93ba43bf43c4fd0017298e3e7594a6e2b634 Mon Sep 17 00:00:00 2001 From: Gaurav Bankar Date: Thu, 8 Aug 2024 12:34:47 +0530 Subject: [PATCH] fixed yay --- scripts/installer/prerequisites.sh | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/scripts/installer/prerequisites.sh b/scripts/installer/prerequisites.sh index 4e18d06..e926391 100755 --- a/scripts/installer/prerequisites.sh +++ b/scripts/installer/prerequisites.sh @@ -11,9 +11,10 @@ print_info "\nStarting prerequisites setup..." run_command "pacman -Syyu --noconfirm" "Update package database and upgrade packages (Recommended)" "yes" # no -run_command "pacman -S --noconfirm --needed git base-devel && git clone https://aur.archlinux.org/yay.git && cd yay && makepkg -si && cd.. # builds with makepkg" "Install YAY (Must)/Breaks the script" "no" # no -run_command "git clone https://aur.archlinux.org/yay.git && cd yay && makepkg -si && cd.. # builds with makepkg" "Build YAY (Must)/Breaks the script" "no" "no" # no - +if run_command "pacman -S --noconfirm --needed git base-devel" "Install YAY (Must)/Breaks the script" "yes"; then # + run_command "git clone https://aur.archlinux.org/yay.git && cd yay" "Clone YAY (Must)/Breaks the script" "no" "no" + run_command "makepkg --noconfirm -si && cd .. # builds with makepkg" "Build YAY (Must)/Breaks the script" "no" "no" +fi run_command "pacman -S --noconfirm pipewire wireplumber" "Configuring audio (Recommended)" "yes" run_command "pacman -S --noconfirm ttf-cascadia-code-nerd ttf-cascadia-mono-nerd ttf-fira-code ttf-fira-mono ttf-fira-sans ttf-firacode-nerd ttf-iosevka-nerd ttf-iosevkaterm-nerd ttf-jetbrains-mono-nerd ttf-jetbrains-mono ttf-nerd-fonts-symbols ttf-nerd-fonts-symbols ttf-nerd-fonts-symbols-mono" "Installing Nerd Fonts and Symbols (Recommended)" "yes"