fix perms in venv

This commit is contained in:
Antonio J. Delgado 2025-01-07 12:33:01 +02:00
parent 4f156e96f9
commit 1be46596a8

View file

@ -1,5 +1,7 @@
#!/bin/bash
script_dir=$( cd -- "$( dirname -- "${BASH_SOURCE[0]}" )" &> /dev/null && pwd )
mkdir -p "${script_dir}/.venv/"
chmod +rwx "${script_dir}/.venv/"
if [ ! -d "${script_dir}/.venv/${USER}/" ]; then
python -m venv "${script_dir}/.venv/${USER}"
fi