2020-08-14 14:23:27 +12:00
|
|
|
#!/bin/bash
|
2020-08-11 05:21:56 +12:00
|
|
|
|
2020-08-14 14:23:27 +12:00
|
|
|
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
|