archive 469 B

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