dwarf-fortress: fix update.sh script for games.json

This commit is contained in:
Andrey Petrov 2020-02-09 11:00:23 -05:00 committed by Jon
parent b865fb3573
commit d51838db20
3 changed files with 4 additions and 4 deletions

View file

@ -96,6 +96,6 @@ stdenv.mkDerivation {
inherit homepage; inherit homepage;
license = licenses.unfreeRedistributable; license = licenses.unfreeRedistributable;
platforms = attrNames platforms; platforms = attrNames platforms;
maintainers = with maintainers; [ a1russell robbinch roconnor the-kenny abbradar numinit ]; maintainers = with maintainers; [ a1russell robbinch roconnor the-kenny abbradar numinit shazow ];
}; };
} }

View file

@ -12,7 +12,7 @@ listToAttrs (map (v: {
sha256 = v.sha256; sha256 = v.sha256;
meta = with lib; { meta = with lib; {
platforms = platforms.all; platforms = platforms.all;
maintainers = [ maintainers.matthewbauer ]; maintainers = [ maintainers.matthewbauer maintainers.shazow ];
license = licenses.free; license = licenses.free;
}; };
}; };

View file

@ -8,8 +8,8 @@ systems='linux linux32 osx osx32
if [ $# -eq 0 ]; then if [ $# -eq 0 ]; then
versions="$(curl http://www.bay12games.com/dwarves/ \ versions="$(curl http://www.bay12games.com/dwarves/ \
| grep 'DOWNLOAD DWARF FORTRESS' \ | grep 'DWARF FORTRESS CLASSIC ' \
| sed 's/.*DOWNLOAD DWARF FORTRESS \([0-9.]*\) .*/\1/')" | sed 's/.*DWARF FORTRESS CLASSIC \([0-9.]*\) .*/\1/')"
else else
versions="$@" versions="$@"
fi fi