We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d5a23a3 commit 7660631Copy full SHA for 7660631
ct/ollama.sh
@@ -28,6 +28,9 @@ function update_script() {
28
fi
29
RELEASE=$(curl -fsSL https://api.github.com/repos/ollama/ollama/releases/latest | grep "tag_name" | awk -F '"' '{print $4}')
30
if [[ ! -f /opt/Ollama_version.txt ]] || [[ "${RELEASE}" != "$(cat /opt/Ollama_version.txt)" ]]; then
31
+ if [[ ! -f /opt/Ollama_version.txt ]]; then
32
+ touch /opt/Ollama_version.txt
33
+ fi
34
msg_info "Stopping Services"
35
systemctl stop ollama
36
msg_ok "Services Stopped"
0 commit comments