mirror of
https://github.com/caelestia-dots/cli.git
synced 2026-06-05 14:59:29 -05:00
install: fix optional dependency install
This commit is contained in:
+1
-1
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user