anvil-editor: init at 0.4
[NixPkgs.git] / pkgs / applications / misc / mkgmap / update.sh
blobddfca9359359dce3a403d661fdd4506a2101628e
1 #!/usr/bin/env nix-shell
2 #!nix-shell -i bash -p curl common-updater-scripts
4 set -euo pipefail
6 version=$(curl -s $2 | sed -n 's#.*<span data-bind="text: current().version">\(.*\)</span>.*#\1#p')
7 update-source-version $1 "$version"