mirror of
https://github.com/arthur-pbty/arthur-os.git
synced 2026-08-01 20:28:16 +02:00
Use helper for this test
This commit is contained in:
+2
-2
@@ -363,8 +363,8 @@ show_install_terminal_menu() {
|
||||
|
||||
show_install_ai_menu() {
|
||||
ollama_pkg=$(
|
||||
(command -v nvidia-smi &>/dev/null && echo ollama-cuda) ||
|
||||
(command -v rocminfo &>/dev/null && echo ollama-rocm) ||
|
||||
(omarchy-cmd-present nvidia-smi && echo ollama-cuda) ||
|
||||
(omarchy-cmd-present rocminfo && echo ollama-rocm) ||
|
||||
echo ollama
|
||||
)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user