nixpkgs/pkgs/tools/X11/xpra/update.sh

6 lines
233 B
Bash
Raw Normal View History

2021-01-10 18:21:27 +00:00
#!/usr/bin/env nix-shell
#!nix-shell -i bash -p curl perl common-updater-scripts
version=$(curl https://xpra.org/src/ | perl -ne 'print "$1\n" if /xpra-([[:digit:].]+)\./' | sort -V | tail -n1)
update-source-version xpra "$version"