ripasso-cursive: cosmetic changes (#361736)
[NixPkgs.git] / pkgs / by-name / vi / virtio-win / update.sh
blob99a0f30fe4a6ea82e71201f1f75c4ce4104d0e5e
1 #!/usr/bin/env nix-shell
2 #!nix-shell -i bash -p curl pup common-updater-scripts
4 set -eu -o pipefail
6 version="$(curl -Ls https://fedorapeople.org/groups/virt/virtio-win/repo/latest/ | \
7 pup 'a[href*="virtio-win-"] text{}' | \
8 sed -E 's/virtio-win-(.*)\.noarch\.rpm/\1/' | \
9 sort -Vu | \
10 tail -n1)"
12 update-source-version virtio-win "$version"