From 9c5333990a6b430b2785b448e93552d362ed8e0f Mon Sep 17 00:00:00 2001 From: michaelloercher Date: Wed, 18 Dec 2024 07:16:14 +0100 Subject: [PATCH] changes of review Signed-off-by: michaelloercher --- functions/packages.bash | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/functions/packages.bash b/functions/packages.bash index a3d45b6b1..828c69933 100644 --- a/functions/packages.bash +++ b/functions/packages.bash @@ -901,7 +901,7 @@ install_esphomedashboard() { # Set up a virtual environment and install ESPHome echo "$(timestamp) [openHABian] Setting up a virtual environment in $ESPHOME_DIR..." cd "$ESPHOME_DIR" || return - if ! sudo -u "$USER" python3 -m venv venv; then + if ! sudo -u "$USER" python3 -m venv "$ESPHOME_DIR/venv"; then echo "$(timestamp) [openHABian] Error: Failed to create a Python virtual environment." return fi