Files
ArchiveBox/pkg/debian/archivebox
Claude f3fcc1584c Restore Homebrew and Debian package manager support
- Add Homebrew formula (brew_dist/archivebox.rb) using virtualenv pattern
  with auto-generation via homebrew-pypi-poet in bin/build_brew.sh
- Add Debian packaging via nFPM (pkg/debian/) with thin .deb that pip-installs
  archivebox into /opt/archivebox/venv on postinstall
- Add build/release scripts: bin/{build,release}_{brew,deb}.sh
- Update CI workflows to build packages on release and test them
- Update README apt/brew install instructions with working commands
- Update bin/setup.sh to use .deb download instead of old Launchpad PPA

https://claude.ai/code/session_01Vx1EsNrNySgsc8Y67dGzCn
2026-03-15 00:19:50 +00:00

14 lines
431 B
Bash
Executable File

#!/bin/bash
# /usr/bin/archivebox - wrapper script installed by the archivebox .deb package
# Activates the pip-installed virtualenv and runs archivebox CLI
ARCHIVEBOX_VENV="/opt/archivebox/venv"
if [ ! -f "$ARCHIVEBOX_VENV/bin/archivebox" ]; then
echo "Error: ArchiveBox is not installed in $ARCHIVEBOX_VENV"
echo "Try running: sudo /opt/archivebox/install.sh"
exit 1
fi
exec "$ARCHIVEBOX_VENV/bin/archivebox" "$@"