diff --git a/deployment_scripts/linux/prepare-free.sh b/deployment_scripts/linux/prepare-free.sh old mode 100644 new mode 100755 diff --git a/deployment_scripts/linux/prepare-nonfree.sh b/deployment_scripts/linux/prepare-nonfree.sh old mode 100644 new mode 100755 diff --git a/deployment_scripts/linux/root.sh b/deployment_scripts/linux/root.sh index 49b0563..e5805d2 100644 --- a/deployment_scripts/linux/root.sh +++ b/deployment_scripts/linux/root.sh @@ -1,5 +1,7 @@ #!/bin/bash apt install npm nodejs python3-pip -y -curl -fsSL https://ollama.com/install.sh | sh +if ! ollama; then + curl -fsSL https://ollama.com/install.sh | sh +fi systemctl enable ollama --now \ No newline at end of file