File tree Expand file tree Collapse file tree 2 files changed +4
-2
lines changed
Expand file tree Collapse file tree 2 files changed +4
-2
lines changed Original file line number Diff line number Diff line change @@ -42,7 +42,7 @@ function update_script() {
4242
4343 msg_info " Installing uv-based Open-WebUI"
4444 PYTHON_VERSION=" 3.12" setup_uv
45- $STD uv tool install --python $PYTHON_VERSION open-webui[all]
45+ $STD uv tool install --python 3.12 open-webui[all]
4646 msg_ok " Installed uv-based Open-WebUI"
4747
4848 msg_info " Restoring data"
Original file line number Diff line number Diff line change @@ -4522,7 +4522,9 @@ function setup_uv() {
45224522
45234523 # Optional: Generate shell completions
45244524 $STD uv generate-shell-completion bash > /etc/bash_completion.d/uv 2> /dev/null || true
4525- $STD uv generate-shell-completion zsh > /usr/share/zsh/site-functions/_uv 2> /dev/null || true
4525+ if [[ -d /usr/share/zsh/site-functions ]]; then
4526+ $STD uv generate-shell-completion zsh > /usr/share/zsh/site-functions/_uv 2> /dev/null || true
4527+ fi
45264528
45274529 # Optional: Install specific Python version if requested
45284530 if [[ -n " ${PYTHON_VERSION:- } " ]]; then
You can’t perform that action at this time.
0 commit comments