mirror of
https://github.com/home-assistant/core.git
synced 2025-08-02 04:05:06 +02:00
Improve setup script portability (#37935)
This commit is contained in:
@@ -1,4 +1,4 @@
|
|||||||
#!/bin/bash
|
#!/usr/bin/env bash
|
||||||
# Setups the repository.
|
# Setups the repository.
|
||||||
|
|
||||||
# Stop on errors
|
# Stop on errors
|
||||||
@@ -14,7 +14,7 @@ source venv/bin/activate
|
|||||||
script/bootstrap
|
script/bootstrap
|
||||||
|
|
||||||
pre-commit install
|
pre-commit install
|
||||||
pip install -e . --constraint homeassistant/package_constraints.txt
|
python3 -m pip install -e . --constraint homeassistant/package_constraints.txt
|
||||||
|
|
||||||
hass --script ensure_config -c config
|
hass --script ensure_config -c config
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user