From 1b6d04e02c5f5a40c766b9f2b235610de8098bd0 Mon Sep 17 00:00:00 2001 From: 0xOzgur <29779769+0xOzgur@users.noreply.github.com> Date: Mon, 14 Oct 2024 11:15:05 +0300 Subject: [PATCH] baseurl fix --- install/install_quilibrium_service.sh | 3 +++ update/update.sh | 3 +++ 2 files changed, 6 insertions(+) diff --git a/install/install_quilibrium_service.sh b/install/install_quilibrium_service.sh index a91cf0c..3f8c53f 100644 --- a/install/install_quilibrium_service.sh +++ b/install/install_quilibrium_service.sh @@ -105,6 +105,9 @@ get_os_arch() { echo "${os}-${arch}" } +# Base URL for the Quilibrium releases +BASE_URL="https://releases.quilibrium.com/release" + # Get the current OS and architecture OS_ARCH=$(get_os_arch) diff --git a/update/update.sh b/update/update.sh index 76f45c1..435cd88 100644 --- a/update/update.sh +++ b/update/update.sh @@ -64,6 +64,9 @@ get_os_arch() { # Get the current OS and architecture OS_ARCH=$(get_os_arch) +# Base URL for the Quilibrium releases +BASE_URL="https://releases.quilibrium.com/release" + # Fetch the list of files from the release page FILES=$(curl -s $BASE_URL | grep -oE "node-[0-9]+\.[0-9]+\.[0-9]+-${OS_ARCH}(\.dgst)?(\.sig\.[0-9]+)?")