From a2b512d022ec0cec8f170114f7d221febb70a2ff Mon Sep 17 00:00:00 2001 From: Tobias Meier Date: Mon, 5 May 2025 13:38:21 +0200 Subject: [PATCH] fix wildcard --- ct/streamlink-webui.sh | 4 ++-- install/streamlink-webui-install.sh | 5 ++--- 2 files changed, 4 insertions(+), 5 deletions(-) diff --git a/ct/streamlink-webui.sh b/ct/streamlink-webui.sh index 4b3f514..a65edb5 100644 --- a/ct/streamlink-webui.sh +++ b/ct/streamlink-webui.sh @@ -43,8 +43,8 @@ function update_script() { install_node_and_modules setup_uv fetch_and_deploy_gh_release "CrazyWolf13/streamlink-webui" - $STD uv venv /opt/**/backend/src/.venv - source /opt/**//backend/src/.venv/bin/activate + $STD uv venv /opt/"${APPLICATION}"/backend/src/.venv + source /opt/"${APPLICATION}"/backend/src/.venv/bin/activate $STD uv sync --all-extras $STD pip install -r requirements.txt cd ../../frontend/src diff --git a/install/streamlink-webui-install.sh b/install/streamlink-webui-install.sh index 104eb5c..f50250d 100644 --- a/install/streamlink-webui-install.sh +++ b/install/streamlink-webui-install.sh @@ -21,15 +21,14 @@ setup_uv msg_info "Setup ${APPLICATION}" fetch_and_deploy_gh_release "CrazyWolf13/streamlink-webui" -$STD uv venv /opt/**/backend/src/.venv -source /opt/**//backend/src/.venv/bin/activate +$STD uv venv /opt/"${APPLICATION}"/backend/src/.venv +source /opt/"${APPLICATION}"/backend/src/.venv/bin/activate $STD uv sync --all-extras $STD pip install -r requirements.txt cd ../../frontend/src $STD yarn build msg_ok "Setup ${APPLICATION}" -# Creating Service (if needed) msg_info "Creating Service" cat <<'EOF' >/opt/"${APPLICATION}".env CLIENT_ID='your_client_id'