repo.or.cz
/
NixPkgs.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
anvil-editor: init at 0.4
[NixPkgs.git]
/
pkgs
/
applications
/
misc
/
mkgmap
/
update.sh
blob
ddfca9359359dce3a403d661fdd4506a2101628e
1
#!/usr/bin/env nix-shell
2
#!nix-shell -i bash -p curl common-updater-scripts
3
4
set -euo
pipefail
5
6
version
=
$
(
curl
-s
$2
|
sed
-n
's#.*<span data-bind="text: current().version">\(.*\)</span>.*#\1#p'
)
7
update-source-version
$1
"
$version
"