mirror of
https://github.com/pirate/ArchiveBox.git
synced 2025-08-12 09:34:50 +02:00
remove old deprecated bin/archive entrypoint
This commit is contained in:
13
bin/archive
13
bin/archive
@@ -1,13 +0,0 @@
|
|||||||
#!/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
|
|
Reference in New Issue
Block a user