mirror of
https://github.com/ArchiveBox/ArchiveBox.git
synced 2026-04-06 07:47:53 +10:00
- 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
14 lines
431 B
Bash
Executable File
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" "$@"
|