From 2845e4350ab8c97db1da8c59a797c0a18358f258 Mon Sep 17 00:00:00 2001 From: Claude Date: Sun, 15 Mar 2026 03:32:01 +0000 Subject: [PATCH] Fix .deb download URL in README to include version component The nfpm-built .deb files are named archivebox__.deb, so the download URL needs to fetch the latest version tag first. https://claude.ai/code/session_01Vx1EsNrNySgsc8Y67dGzCn --- README.md | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index 0d58f7f9..2ec75a3e 100644 --- a/README.md +++ b/README.md @@ -298,7 +298,8 @@ See below for more usage examples using the C
  • Download and install the .deb package from the latest release.
    # download the .deb for your architecture (amd64 or arm64)
     ARCH="$(dpkg --print-architecture)"
    -curl -fsSL "https://github.com/ArchiveBox/ArchiveBox/releases/latest/download/archivebox_${ARCH}.deb" -o /tmp/archivebox.deb
    +VERSION="$(curl -fsSL https://api.github.com/repos/ArchiveBox/ArchiveBox/releases/latest | python3 -c "import sys,json; print(json.load(sys.stdin)['tag_name'].lstrip('v'))")"
    +curl -fsSL "https://github.com/ArchiveBox/ArchiveBox/releases/latest/download/archivebox_${VERSION}_${ARCH}.deb" -o /tmp/archivebox.deb
     sudo apt install /tmp/archivebox.deb
     archivebox version                         # make sure all dependencies are installed