From 1a68c373cd56efd7e588fb42cd2e24bdbf6b5dc7 Mon Sep 17 00:00:00 2001 From: ndwarshuis Date: Sat, 12 Jun 2021 00:40:37 -0400 Subject: [PATCH] FIX use yay and not pacman to call sudo --- dot_bin/executable_bootstrap_pkgs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/dot_bin/executable_bootstrap_pkgs b/dot_bin/executable_bootstrap_pkgs index 7e6d109..d34838d 100644 --- a/dot_bin/executable_bootstrap_pkgs +++ b/dot_bin/executable_bootstrap_pkgs @@ -22,7 +22,7 @@ mk_makepkg_dir() { } try_update() { - if ! pacman -Syy; then + if ! yay -Syy; then echo "Failed to update pacman cache as user $(whoami). Exiting." return 1 fi @@ -30,7 +30,7 @@ try_update() { call_makepkg() { cd "$makepkg_tmp/$1" || return 1 - MAKEFLAGS="-j$(nproc)" makepkg -s -r -i -f --noconfirm + makepkg -s -r -i -f --noconfirm } run_install_scripts() {