Skip to content

Commit

Permalink
improved ogmios fix
Browse files Browse the repository at this point in the history
  • Loading branch information
Scitz0 committed Jan 21, 2024
1 parent d681a34 commit 236d631
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion scripts/cnode-helper-scripts/guild-deploy.sh
Original file line number Diff line number Diff line change
Expand Up @@ -459,7 +459,7 @@ download_cardanohwcli() {
download_ogmios() {
[[ -z ${ARCH##*aarch64*} ]] && err_exit " The ogmios pre-compiled binary is not available for ARM, you might need to build them!"
echo -e "\nInstalling Ogmios"
if command -v ogmios >/dev/null; then ogmios_version="$(ogmios --version)"; else ogmios_version="v0.0.0"; fi
if command -v ogmios >/dev/null; then ogmios_version="$(ogmios --version)" 2>/dev/null || ogmios_version="v0.0.0"; else ogmios_version="v0.0.0"; fi
rm -rf /tmp/ogmios && mkdir /tmp/ogmios
pushd /tmp/ogmios >/dev/null || err_exit
ogmios_asset_url="$(curl -s https://api.github.com/repos/CardanoSolutions/ogmios/releases | jq -r '.[].assets[].browser_download_url' | grep x86_64-linux.zip | head -1)"
Expand Down

0 comments on commit 236d631

Please sign in to comment.