Update install.sh

scripts: fix soft link of ollama pointing error
This commit is contained in:
maurice 2025-03-02 00:38:06 +08:00 committed by GitHub
parent bebb6823c0
commit d1ee29a1d4
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -84,7 +84,7 @@ curl --fail --show-error --location --progress-bar \
$SUDO tar -xzf - -C "$OLLAMA_INSTALL_DIR"
if [ "$OLLAMA_INSTALL_DIR/bin/ollama" != "$BINDIR/ollama" ] ; then
status "Making ollama accessible in the PATH in $BINDIR"
$SUDO ln -sf "$OLLAMA_INSTALL_DIR/ollama" "$BINDIR/ollama"
$SUDO ln -sf "$OLLAMA_INSTALL_DIR/bin/ollama" "$BINDIR/ollama"
fi
# Check for NVIDIA JetPack systems with additional downloads