diff --git a/scripts/install.sh b/scripts/install.sh index 93a6338f3..e5ee42301 100755 --- a/scripts/install.sh +++ b/scripts/install.sh @@ -10,7 +10,7 @@ OS=$(uname -s | tr '[:upper:]' '[:lower:]') # Fetch the latest release information echo "Fetching latest release information..." -RELEASE_INFO=$(curl -s ${SLINKY_RELEASES_URL}) +RELEASE_INFO=$(curl -Ls ${SLINKY_RELEASES_URL}) VERSION=$(echo ${RELEASE_INFO} | grep -o '"tag_name": "v[^"]*' | cut -d'"' -f4) VERSION=${VERSION#v} # Remove the 'v' prefix @@ -77,4 +77,4 @@ sudo chmod +x /usr/local/bin/slinky rm -rf "${TEMP_DIR}" rm "${FILE_NAME}" -echo "Slinky ${VERSION} has been installed successfully!" \ No newline at end of file +echo "Slinky ${VERSION} has been installed successfully!"