hass-core/scripts/update
2015-01-20 23:11:24 -08:00

8 lines
206 B
Text
Executable file

# If current pwd is scripts, go 1 up.
if [ ${PWD##*/} == "scripts" ]; then
cd ..
fi
git pull --recurse-submodules=yes
git submodule update --init --recursive
python3 -m pip install -r requirements.txt