9 lines
286 B
Bash
Executable file
9 lines
286 B
Bash
Executable file
#!/bin/bash
|
|
if [ ! -d "$(dirname "${0}")/.venv" ]; then
|
|
python -m venv "$(dirname "${0}")/.venv"
|
|
fi
|
|
# shellcheck disable=1091
|
|
source "$(dirname "${0}")/.venv/bin/activate"
|
|
pip install -r "$(dirname "${0}")/requirements.txt"
|
|
pip install "$(dirname "${0}")/"
|
|
ovh_dns_ensure.py "${@}"
|