From 30937b400a0d9c5f42def2fb54a11f380d50759e Mon Sep 17 00:00:00 2001 From: 2 * r + 2 * t <61896496+soramanew@users.noreply.github.com> Date: Tue, 28 Jan 2025 17:55:18 +1100 Subject: install: fix dependency installation --- install/util.fish | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'install') diff --git a/install/util.fish b/install/util.fish index 3f54c86..140a586 100644 --- a/install/util.fish +++ b/install/util.fish @@ -18,8 +18,8 @@ function install-deps pacman -Q $argv &> /dev/null && return # Get AUR helper or install if none - which yay > /dev/null && set -l helper yay || set -l helper paru - if ! which paru > /dev/null + which yay &> /dev/null && set -l helper yay || set -l helper paru + if ! which $helper &> /dev/null warn 'No AUR helper found' read -l -p "input 'Install yay? [Y/n] ' -n" confirm if test "$confirm" = 'n' -o "$confirm" = 'N' -- cgit v1.2.3-freya