This commit is contained in:
Arthur K. 2025-03-15 13:52:06 +03:00
parent 365e0feddc
commit ce19d6a62c
Signed by: wzray
GPG key ID: B97F30FDC4636357
24 changed files with 212 additions and 96 deletions

View file

@ -25,14 +25,13 @@ remove() {
}
# shellcheck disable=SC1091
create_or_activate() {
# shellcheck disable=SC1091
if [ -d "${VENV_FOLDER}" ]; then
source "${VENV_FOLDER}/bin/activate"
else
if [ ! -d "${VENV_FOLDER}" ]; then
python3 -m venv "${VENV_FOLDER}"
source "${VENV_FOLDER}/bin/activate"
fi
source "${VENV_FOLDER}/bin/activate"
}