This commit is contained in:
Tim
2026-07-10 18:38:02 +02:00
parent e778310085
commit 6d47e5ec79
2 changed files with 63 additions and 0 deletions
+6
View File
@@ -157,6 +157,12 @@ install_ollama() {
# Skript ausführbar machen und ausführen.
chmod +x "$tmp_script" || die "Konnte Installations-Skript nicht ausführbar machen."
"$tmp_script" || die "Installation von Ollama ist fehlgeschlagen."
# Erfolg: temporäre Datei löschen und Trap entfernen, damit er beim
# späteren Script-Exit nicht auf eine nicht mehr existierende lokale
# Variable zugreift (sonst Fehler wegen 'set -u').
trap - EXIT
rm -f "$tmp_script"
}
main() {