mirror of
https://github.com/pirate/ArchiveBox.git
synced 2025-08-31 10:01:52 +02:00
12 lines
296 B
Bash
Executable File
12 lines
296 B
Bash
Executable File
#!/bin/bash
|
|
|
|
if python3 -m django --version >/dev/null 2>&1; then
|
|
python3 -m archivebox "$*"
|
|
else
|
|
echo '[X] ArchiveBox must be installed before using:'
|
|
echo " pip install archivebox"
|
|
echo
|
|
echo "Hint: Did you forget to activate a virtuenv or set your $$PATH?"
|
|
exit 2
|
|
fi
|