From e6e1808c6984fa2f102dd387ebce1076a20b4669 Mon Sep 17 00:00:00 2001 From: Bruno Rodrigues Date: Wed, 26 Feb 2025 11:23:46 +0100 Subject: [PATCH] positron-bin: fixed update script --- pkgs/by-name/po/positron-bin/update.sh | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/pkgs/by-name/po/positron-bin/update.sh b/pkgs/by-name/po/positron-bin/update.sh index a024b382ec96..3e3966a356e9 100755 --- a/pkgs/by-name/po/positron-bin/update.sh +++ b/pkgs/by-name/po/positron-bin/update.sh @@ -18,22 +18,22 @@ fi # Update Darwin hash. current_hash=$(nix store prefetch-file --json --hash-type sha256 \ - "https://github.com/posit-dev/positron/releases/download/${current_version}/Positron-${current_version}.dmg" \ + "https://cdn.posit.co/positron/dailies/mac/universal/Positron-${current_version}.dmg" \ | jq -r .hash) new_hash=$(nix store prefetch-file --json --hash-type sha256 \ - "https://github.com/posit-dev/positron/releases/download/${new_version}/Positron-${new_version}.dmg" \ + "https://cdn.posit.co/positron/dailies/mac/universal/Positron-${new_version}.dmg" \ | jq -r .hash) sed -i "s|$current_hash|$new_hash|g" $positron_nix # Update Linux hash. current_hash=$(nix store prefetch-file --json --hash-type sha256 \ - "https://github.com/posit-dev/positron/releases/download/${current_version}/Positron-${current_version}-x64.deb" \ + "https://cdn.posit.co/positron/dailies/deb/x86_64/Positron-${current_version}-x64.deb" \ | jq -r .hash) new_hash=$(nix store prefetch-file --json --hash-type sha256 \ - "https://github.com/posit-dev/positron/releases/download/${new_version}/Positron-${new_version}-x64.deb" \ + "https://cdn.posit.co/positron/dailies/deb/x86_64/Positron-${new_version}-x64.deb" \ | jq -r .hash) sed -i "s|$current_hash|$new_hash|g" $positron_nix