Update pob and fix update script

This commit is contained in:
2024-07-20 07:24:44 +02:00
parent 0f325244d2
commit 1cab9b2773
2 changed files with 4 additions and 4 deletions

View File

@@ -1,6 +1,6 @@
#!/usr/bin/env bash
set -eo pipefail
set -x
# set -x
# TODO: Update pobfrontend as well?
@@ -11,7 +11,7 @@ else
nurl_output=$(nurl -j https://github.com/PathOfBuildingCommunity/PathOfBuilding "$1" 2>/dev/null)
fi
hash=$(jq '.args.hash' <<< "$nurl_output")
hash=$(jq '.args.hash' <<< "$nurl_output" | sed 's/\//\\\//g')
echo "Updating pob to $rev"
# Find lines to replace