1 #!/usr/bin/env nix-shell
2 #!nix-shell -i bash -p curl pup common-updater-scripts
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/' | \
12 update-source-version virtio-win
"$version"