1
0
Fork 0
mirror of synced 2024-05-03 03:53:32 +12:00
ArchiveBox/bin/archive
2021-04-23 23:12:14 -04:00

14 lines
469 B
Bash
Executable file

#!/usr/bin/env bash
# DEPRECATED: this helper exists for backwards compatibility with <v0.4 only
# Do not use this to call archivebox, instead use the archivebox binary directly.
if python3 -m django --version >/dev/null 2>&1; then
python3 -m archivebox "$*"
else
echo '[X] ArchiveBox not found, is it installed and present in your $PATH?'
echo ' pip3 install archivebox'
echo
echo 'Hint: Did you forget to activate a virtualenv?'
exit 2
fi