getumbrel / llama-gpt

A self-hosted, offline, ChatGPT-like chatbot. Powered by Llama 2. 100% private, with no data leaving your device. New: Code Llama support!
https://apps.umbrel.com/app/llama-gpt
MIT License
10.53k stars 666 forks source link

patch shebang to support more platforms #128

Open teto opened 8 months ago

teto commented 8 months ago

/bin/bash doesn't exist on the linux distribution nixos, a common pattern to find the interpreter is to rely on /usr/bin/env in shebang https://unix.stackexchange.com/questions/29608/why-is-it-better-to-use-usr-bin-env-name-instead-of-path-to-name-as-my/77586#77586