diff options
author | Emmanuel Rosa <emmanuelrosa@protonmail.com> | 2023-01-10 14:41:54 -0500 |
---|---|---|
committer | Emmanuel Rosa <emmanuelrosa@protonmail.com> | 2023-01-10 14:41:54 -0500 |
commit | 4f792dcec48aa06209a5b2c95518eda8d2d53e0d (patch) | |
tree | 1f67875ca3599627ef4b246ea9735dd8cc774675 /pkgs/applications/blockchains/bisq-desktop | |
parent | 6527928d394c236cc0a5d98902ae8eb7e5830374 (diff) |
bisq-desktop: update updater script
Diffstat (limited to 'pkgs/applications/blockchains/bisq-desktop')
-rwxr-xr-x | pkgs/applications/blockchains/bisq-desktop/update.sh | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/pkgs/applications/blockchains/bisq-desktop/update.sh b/pkgs/applications/blockchains/bisq-desktop/update.sh index 393447834bba5..c65e04e3de409 100755 --- a/pkgs/applications/blockchains/bisq-desktop/update.sh +++ b/pkgs/applications/blockchains/bisq-desktop/update.sh @@ -7,14 +7,13 @@ version="$(curl -s https://api.github.com/repos/bisq-network/bisq/releases| jq ' depname="Bisq-64bit-$version.deb" src="https://github.com/bisq-network/bisq/releases/download/v$version/$depname" signature="$src.asc" -key="CB36 D7D2 EBB2 E35D 9B75 500B CD5D C1C5 29CD FD3B" pushd $(mktemp -d --suffix=-bisq-updater) export GNUPGHOME=$PWD/gnupg mkdir -m 700 -p "$GNUPGHOME" curl -L -o "$depname" -- "$src" curl -L -o signature.asc -- "$signature" -gpg --batch --recv-keys "$key" +curl https://bisq.network/pubkey/E222AA02.asc | gpg --import gpg --batch --verify signature.asc "$depname" sha256=$(nix-prefetch-url --type sha256 "file://$PWD/$depname") popd |