From 2d092f4156a78c8767d083ef91ee355a3a71d72f Mon Sep 17 00:00:00 2001 From: Bruno Rodrigues Date: Wed, 2 Jul 2025 18:54:40 +0200 Subject: [PATCH] positron-bin: fixed update script --- pkgs/by-name/po/positron-bin/update.sh | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/pkgs/by-name/po/positron-bin/update.sh b/pkgs/by-name/po/positron-bin/update.sh index 76c16930fc01..6424263fa45b 100755 --- a/pkgs/by-name/po/positron-bin/update.sh +++ b/pkgs/by-name/po/positron-bin/update.sh @@ -18,33 +18,33 @@ fi # Update Darwin hash. current_hash=$(nix store prefetch-file --json --hash-type sha256 \ - "https://cdn.posit.co/positron/dailies/mac/universal/Positron-${current_version}.dmg" \ + "https://cdn.posit.co/positron/releases/mac/universal/Positron-${current_version}-universal.dmg" \ | jq -r .hash) new_hash=$(nix store prefetch-file --json --hash-type sha256 \ - "https://cdn.posit.co/positron/dailies/mac/universal/Positron-${new_version}.dmg" \ + "https://cdn.posit.co/positron/releases/mac/universal/Positron-${new_version}-universal.dmg" \ | jq -r .hash) sed -i "s|$current_hash|$new_hash|g" $positron_nix # Update Linux x86_64 hash. current_hash=$(nix store prefetch-file --json --hash-type sha256 \ - "https://cdn.posit.co/positron/dailies/deb/x86_64/Positron-${current_version}-x64.deb" \ + "https://cdn.posit.co/positron/releases/deb/x86_64/Positron-${current_version}-x64.deb" \ | jq -r .hash) new_hash=$(nix store prefetch-file --json --hash-type sha256 \ - "https://cdn.posit.co/positron/dailies/deb/x86_64/Positron-${new_version}-x64.deb" \ + "https://cdn.posit.co/positron/releases/deb/x86_64/Positron-${new_version}-x64.deb" \ | jq -r .hash) sed -i "s|$current_hash|$new_hash|g" $positron_nix # Update Linux aarch64 hash. current_hash=$(nix store prefetch-file --json --hash-type sha256 \ - "https://cdn.posit.co/positron/dailies/deb/arm64/Positron-${current_version}-arm64.deb" \ + "https://cdn.posit.co/positron/releases/deb/arm64/Positron-${current_version}-arm64.deb" \ | jq -r .hash) new_hash=$(nix store prefetch-file --json --hash-type sha256 \ - "https://cdn.posit.co/positron/dailies/deb/arm64/Positron-${new_version}-arm64.deb" \ + "https://cdn.posit.co/positron/releases/deb/arm64/Positron-${new_version}-arm64.deb" \ | jq -r .hash) sed -i "s|$current_hash|$new_hash|g" $positron_nix