From 6c3614b9b6307fcc4030415a9c1aa04c8c232ad8 Mon Sep 17 00:00:00 2001 From: Jeff LANCE Date: Sat, 3 Aug 2024 23:30:52 +0200 Subject: [PATCH] Up. --- scripts/utils.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/scripts/utils.sh b/scripts/utils.sh index bb833d7..3653bde 100644 --- a/scripts/utils.sh +++ b/scripts/utils.sh @@ -66,7 +66,7 @@ install_binary() { } ;; yay) - yay -S --noconfirm --removemake --quiet "${package_name}" || { + sudo yay -S --noconfirm --removemake --quiet "${package_name}" || { err "Installation failed." exit 1 } @@ -111,7 +111,7 @@ update_system() { } ;; yay) - yay -Syu --noconfirm --removemake --quiet || { + sudo yay -Syu --noconfirm --removemake --quiet || { err "Update failed." exit 1 }