diff --git a/install/debian-install.sh b/install/debian-install.sh index 1bb65f6a..45606644 100644 --- a/install/debian-install.sh +++ b/install/debian-install.sh @@ -17,7 +17,9 @@ msg_info "Installing Dependencies" #$STD apt-get install -y gnup msg_ok "Installed Dependencies" -PYTHON_VERSION="3.12" setup_uv +fetch_and_deploy_gh_release "argus" "release-argus/Argus" "prebuild" "latest" "/opt/argus" "Argus-.*\.linux-amd64" + +#PYTHON_VERSION="3.12" setup_uv #echo -e "fetching healthchecks" #fetch_and_deploy_gh_release "healthchecks" "healthchecks/healthchecks" "tarball" "latest" "/opt/healthchecks" diff --git a/misc/tools.func b/misc/tools.func index 7f2a81d7..15d3f110 100644 --- a/misc/tools.func +++ b/misc/tools.func @@ -854,7 +854,7 @@ function fetch_and_deploy_gh_release() { local assets asset_url="" assets=$(echo "$json" | jq -r '.assets[].browser_download_url') for u in $assets; do - if [[ "$u" =~ $pattern || "$u" == *"$pattern" ]]; then + if [[ "$u" == *"$pattern"* ]]; then asset_url="$u" break fi