ovh_dns_ensure/run.sh
2024-10-03 13:18:06 +03:00

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 "${@}"