another fix

This commit is contained in:
2 * r + 2 * t
2025-01-28 18:13:34 +11:00
parent 65a195c337
commit e8334e209e
+3 -2
View File
@@ -57,9 +57,10 @@ end
function install-optional-deps
for dep in $argv
if ! pacman -Q $dep &> /dev/null
set -l dep_name (string split -f 1 ' ' $dep)
if ! pacman -Q $dep_name &> /dev/null
read -l -p "input 'Install $dep? [Y/n] ' -n" confirm
test "$confirm" != 'n' -a "$confirm" != 'N' && install-deps (string split -f 1 ' ' $dep)
test "$confirm" != 'n' -a "$confirm" != 'N' && install-deps $dep_name
end
end
end