mirror of
https://github.com/home-assistant/core.git
synced 2025-07-19 03:07:37 +00:00
Don't create new venv if script/setup is run from within a venv (#88906)
This commit is contained in:
parent
6febe00516
commit
29b049fc57
@ -16,7 +16,7 @@ fi
|
||||
|
||||
mkdir -p config
|
||||
|
||||
if [ ! -n "$DEVCONTAINER" ];then
|
||||
if [ ! -n "$DEVCONTAINER" ] && [ ! -n "$VIRTUAL_ENV" ];then
|
||||
python3 -m venv venv
|
||||
source venv/bin/activate
|
||||
fi
|
||||
|
Loading…
x
Reference in New Issue
Block a user