Update viseron-install.sh
This commit is contained in:
parent
86088220f5
commit
c831e7e9f9
@ -39,9 +39,16 @@ msg_info "Setting up Python Environment"
|
||||
PYTHON_VERSION="3.12" setup_uv /opt/viseron
|
||||
msg_ok "Python Environment Setup"
|
||||
|
||||
msg_info "Setting up Python Environment"
|
||||
mkdir -p /opt/viseron
|
||||
cd /opt/viseron
|
||||
uv venv .
|
||||
msg_ok "Python Environment Setup"
|
||||
|
||||
msg_info "Installing Viseron"
|
||||
RELEASE=$(curl -fsSL https://api.github.com/repos/roflcoopter/viseron/releases/latest | jq -r '.tag_name' | sed 's/^v//')
|
||||
uv pip install "viseron==${RELEASE}"
|
||||
RELEASE=$(curl -fsSL https://api.github.com/repos/roflcoopter/viseron/releases/latest |
|
||||
jq -r '.tag_name' | sed 's/^v//')
|
||||
/opt/viseron/bin/uv pip install "viseron==${RELEASE}"
|
||||
msg_ok "Installed Viseron $RELEASE"
|
||||
|
||||
# fetch_and_deploy_gh_release "viseron" "roflcoopter/viseron" "tarball" "latest" "/opt/viseron"
|
||||
|
Loading…
x
Reference in New Issue
Block a user