From 5cf61ad110b4940854022b32ebed63bee606f030 Mon Sep 17 00:00:00 2001 From: Tony F Date: Tue, 12 Mar 2024 16:56:04 -0500 Subject: [PATCH] snapcraft: use archive.chirpmyradio.com --- snap/snapcraft.yaml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/snap/snapcraft.yaml b/snap/snapcraft.yaml index 2052c1f8..8788476b 100644 --- a/snap/snapcraft.yaml +++ b/snap/snapcraft.yaml @@ -43,9 +43,9 @@ parts: - PYTHONPATH: "" override-pull: | sudo apt install -y curl - ver_with_next=$(basename $(curl -H "User-Agent: goldstar611" -Ls -o/dev/null -w '%{url_effective}' https://trac.chirp.danplanet.com/download?stream=next)) + ver_with_next=$(basename $(curl -H "User-Agent: goldstar611" -Ls -o/dev/null -w '%{url_effective}' https://archive.chirpmyradio.com/download?stream=next)) ver_without_next=${ver_with_next//next-/} - curl -H "User-Agent: goldstar611" -o ${SNAPCRAFT_PART_SRC}/chirp-src.tar.gz https://trac.chirp.danplanet.com/chirp_next/${ver_with_next}/chirp-${ver_without_next}.tar.gz + curl -H "User-Agent: goldstar611" -o ${SNAPCRAFT_PART_SRC}/chirp-src.tar.gz https://archive.chirpmyradio.com/chirp_next/${ver_with_next}/chirp-${ver_without_next}.tar.gz tar -xz -C ${SNAPCRAFT_PART_SRC} -f ${SNAPCRAFT_PART_SRC}/chirp-src.tar.gz --strip-components=1 # Fix icon sed -i 's,Icon=chirp,Icon=${SNAP}/lib/python3.10/site-packages/chirp/share/chirp.svg,g' ${SNAPCRAFT_PART_SRC}/chirp/share/chirp.desktop