fix: change config to work also on debian 11

This commit is contained in:
Omid Zamani
2026-01-02 18:55:48 +01:00
parent 68277cc929
commit 928b41aae2
11 changed files with 146 additions and 28 deletions

View File

@@ -21,7 +21,7 @@ fi
# Ensure uv is in PATH
export PATH="$HOME/.local/bin:/root/.local/bin:$PATH"
if ! command -v uv &> /dev/null; then
if ! command -v uv > /dev/null 2>&1; then
if [ -f "/root/.local/bin/uv" ]; then
export PATH="/root/.local/bin:$PATH"
elif [ -f "$HOME/.local/bin/uv" ]; then
@@ -29,13 +29,9 @@ if ! command -v uv &> /dev/null; then
fi
fi
if ! command -v uv &> /dev/null; then
if ! command -v uv > /dev/null 2>&1; then
echo "uv not found. Please install it first or run init.sh"
exit 1
fi
uv venv venv
uv pip install -e chatmaild
uv pip install -e cmdeploy
uv pip install sphinx sphinxcontrib-mermaid sphinx-autobuild furo # for building the docs
uv sync --python 3.11