summaryrefslogtreecommitdiff
path: root/install
diff options
context:
space:
mode:
author2 * r + 2 * t <61896496+soramanew@users.noreply.github.com>2025-01-28 17:55:18 +1100
committer2 * r + 2 * t <61896496+soramanew@users.noreply.github.com>2025-01-28 17:55:18 +1100
commit30937b400a0d9c5f42def2fb54a11f380d50759e (patch)
tree386892a19cf0a4cc147845f507cdcb0dd073927d /install
parentinstall: fix shell dependency (diff)
downloadcaelestia-cli-30937b400a0d9c5f42def2fb54a11f380d50759e.tar.gz
caelestia-cli-30937b400a0d9c5f42def2fb54a11f380d50759e.tar.bz2
caelestia-cli-30937b400a0d9c5f42def2fb54a11f380d50759e.zip
install: fix dependency installation
Diffstat (limited to 'install')
-rw-r--r--install/util.fish4
1 files changed, 2 insertions, 2 deletions
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'