From 65a195c3375ae708c03dc50a15d9987229c16a6a Mon Sep 17 00:00:00 2001 From: 2 * r + 2 * t <61896496+soramanew@users.noreply.github.com> Date: Tue, 28 Jan 2025 18:12:10 +1100 Subject: install: fix optional dependency install --- install/util.fish | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'install') diff --git a/install/util.fish b/install/util.fish index 8742db4..812cee3 100644 --- a/install/util.fish +++ b/install/util.fish @@ -59,7 +59,7 @@ function install-optional-deps for dep in $argv if ! pacman -Q $dep &> /dev/null read -l -p "input 'Install $dep? [Y/n] ' -n" confirm - test "$confirm" != 'n' -a "$confirm" != 'N' && install-deps (cut -f 1 -d ' ' $dep) + test "$confirm" != 'n' -a "$confirm" != 'N' && install-deps (string split -f 1 ' ' $dep) end end end -- cgit v1.2.3-freya