mirror of
https://github.com/home-assistant/core.git
synced 2025-07-23 21:27:38 +00:00
Improve setup script portability (#37935)
This commit is contained in:
parent
1e8676bf2c
commit
1dd5a36f5c
@ -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
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user