From dc73804416635829adf788c02b22166cfd0a2611 Mon Sep 17 00:00:00 2001 From: Aditya Gupta Date: Wed, 24 Jun 2026 20:38:53 +0530 Subject: [PATCH] update yay installer to use package dep helpers --- installers/install_yay.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/installers/install_yay.sh b/installers/install_yay.sh index 603cb34..2df109a 100755 --- a/installers/install_yay.sh +++ b/installers/install_yay.sh @@ -30,10 +30,10 @@ install_yay() { fi local needs_install=false - if ! pacman -Qq git &>/dev/null; then + if ! pkg_check git; then needs_install=true fi - if ! pacman -Qq base-devel &>/dev/null && ! pacman -Qg base-devel &>/dev/null; then + if ! pkg_check base-devel && ! pacman -Qg base-devel &>/dev/null; then needs_install=true fi