[PR #12550] refactor(install.sh): major code cleanup #12607

Open
opened 2025-11-12 16:40:32 -06:00 by GiteaMirror · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/ollama/ollama/pull/12550
Author: @leagris
Created: 10/9/2025
Status: 🔄 Open

Base: mainHead: refactor-linux-install


📝 Commits (1)

  • ae9e937 refactor(install.sh): major code cleanup

📊 Changes

1 file changed (+234 additions, -190 deletions)

View changed files

📝 scripts/install.sh (+234 -190)

📄 Description

fix #12503

This major code cleanup addresses all the shellcheck warnings. Fixes some logic bugs
Make the installer script fully POSIX-shell compliant Replaces many usages of sub-shell string processing where standard variable expansion is capable of the same transofmations.


🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/ollama/ollama/pull/12550 **Author:** [@leagris](https://github.com/leagris) **Created:** 10/9/2025 **Status:** 🔄 Open **Base:** `main` ← **Head:** `refactor-linux-install` --- ### 📝 Commits (1) - [`ae9e937`](https://github.com/ollama/ollama/commit/ae9e937ed5d8d7fc72cd87aca8c1a39350b35274) refactor(install.sh): major code cleanup ### 📊 Changes **1 file changed** (+234 additions, -190 deletions) <details> <summary>View changed files</summary> 📝 `scripts/install.sh` (+234 -190) </details> ### 📄 Description fix #12503 This major code cleanup addresses all the shellcheck warnings. Fixes some logic bugs Make the installer script fully POSIX-shell compliant Replaces many usages of sub-shell string processing where standard variable expansion is capable of the same transofmations. --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
GiteaMirror added the pull-request label 2025-11-12 16:40:32 -06:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github-starred/ollama-ollama#12607