nixpkgs/pkgs/applications/misc/1password-gui/update.sh

6 lines
289 B
Bash
Raw Normal View History

2020-08-25 20:25:23 +02:00
#!/usr/bin/env nix-shell
#!nix-shell -i bash -p curl gnused common-updater-scripts
version="$(curl -sL https://onepassword.s3.amazonaws.com/linux/debian/dists/edge/main/binary-amd64/Packages | sed -r -n 's/^Version: (.*)/\1/p' | head -n1)"
2020-08-25 20:25:23 +02:00
update-source-version _1password-gui "$version"