mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-25 08:23:09 +00:00
8 lines
272 B
Bash
Executable File
8 lines
272 B
Bash
Executable File
#!/usr/bin/env nix-shell
|
|
#!nix-shell -i bash -p curl gnused common-updater-scripts
|
|
|
|
set -eu -o pipefail
|
|
|
|
version="$(curl -sL https://build.wireguard.com/distros.txt | sed -n 's/^upstream\tkmodtools\t\([^\t]\+\)\t.*/\1/p')"
|
|
update-source-version wireguard-tools "$version"
|