python312Packages.osmnx: 1.9.3 → 2.0.0 (#360529)
[NixPkgs.git] / pkgs / os-specific / linux / firmware / linux-firmware / update.sh
blob7886e93571ab4ffe8a439d50d9b6933f17cf7a96
1 #!/usr/bin/env nix-shell
2 #!nix-shell -i bash -p git -p common-updater-scripts
4 set -eu -o pipefail
6 repo="https://git.kernel.org/pub/scm/linux/kernel/git/firmware/linux-firmware.git"
8 revision="$(git ls-remote --refs --tags --sort refname "$repo" | tail -n1 | cut -f2 | cut -d '/' -f3)"
10 update-source-version linux-firmware "$revision"