blob: 99a0f30fe4a6ea82e71201f1f75c4ce4104d0e5e (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
|
#!/usr/bin/env nix-shell
#!nix-shell -i bash -p curl pup common-updater-scripts
set -eu -o pipefail
version="$(curl -Ls https://fedorapeople.org/groups/virt/virtio-win/repo/latest/ | \
pup 'a[href*="virtio-win-"] text{}' | \
sed -E 's/virtio-win-(.*)\.noarch\.rpm/\1/' | \
sort -Vu | \
tail -n1)"
update-source-version virtio-win "$version"
|