dwarf-fortress: fix update.sh script for games.json
This commit is contained in:
parent
b865fb3573
commit
d51838db20
|
@ -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 ];
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
|
@ -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;
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
|
@ -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
|
||||||
|
|
Loading…
Reference in a new issue