From eb78c2e5e8997a73582d322ee0d123b9f75db1ff Mon Sep 17 00:00:00 2001 From: SpudGunMan Date: Fri, 29 Aug 2025 17:48:30 -0700 Subject: [PATCH] Update install.sh --- install.sh | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/install.sh b/install.sh index 8e4a6be..1adefe5 100755 --- a/install.sh +++ b/install.sh @@ -277,6 +277,12 @@ if [[ $(echo "${embedded}" | grep -i "^n") ]]; then sudo systemctl restart ollama.service printf "\nOllama service updated and restarted\n" fi + # assume we want to enable ollama in config.ini + if [[ -f config.ini ]]; then + replace="s|ollama = False|ollama = True|g" + sed -i "$replace" config.ini + printf "\nOllama enabled in config.ini\n" + fi fi # document the service install