mirror of
https://github.com/chatmail/relay.git
synced 2026-05-13 09:24:43 +00:00
fix: reoslve the uv issue
This commit is contained in:
@@ -3,7 +3,7 @@
|
||||
# Wrapper for building the docs
|
||||
set -e
|
||||
# Ensure uv is in PATH
|
||||
export PATH="$HOME/.local/bin:$PATH"
|
||||
export PATH="$HOME/.local/bin:/root/.local/bin:$PATH"
|
||||
|
||||
cd doc/
|
||||
uv run make html
|
||||
|
||||
@@ -3,6 +3,6 @@
|
||||
# Wrapper for cmdelpoy to run it in activated virtualenv.
|
||||
set -e
|
||||
# Ensure uv is in PATH
|
||||
export PATH="$HOME/.local/bin:$PATH"
|
||||
export PATH="$HOME/.local/bin:/root/.local/bin:$PATH"
|
||||
|
||||
uv run cmdeploy "$@"
|
||||
|
||||
@@ -19,7 +19,15 @@ if command -v lsb_release 2>&1 >/dev/null; then
|
||||
fi
|
||||
|
||||
# Ensure uv is in PATH
|
||||
export PATH="$HOME/.local/bin:$PATH"
|
||||
export PATH="$HOME/.local/bin:/root/.local/bin:$PATH"
|
||||
|
||||
if ! command -v uv &> /dev/null; then
|
||||
if [ -f "/root/.local/bin/uv" ]; then
|
||||
export PATH="/root/.local/bin:$PATH"
|
||||
elif [ -f "$HOME/.local/bin/uv" ]; then
|
||||
export PATH="$HOME/.local/bin:$PATH"
|
||||
fi
|
||||
fi
|
||||
|
||||
if ! command -v uv &> /dev/null; then
|
||||
echo "uv not found. Please install it first or run init.sh"
|
||||
|
||||
Reference in New Issue
Block a user