From f69758e9f7ca963882d90906cc4736a4e63fec8a Mon Sep 17 00:00:00 2001 From: CCOSTAN Date: Thu, 13 Oct 2016 18:32:12 +0000 Subject: [PATCH] Shell Script for Updating HA. --- .HA_VERSION | 2 +- shell_scripts/HAUpdate.sh | 10 ++++++++++ 2 files changed, 11 insertions(+), 1 deletion(-) create mode 100755 shell_scripts/HAUpdate.sh diff --git a/.HA_VERSION b/.HA_VERSION index 6a932058..26339513 100755 --- a/.HA_VERSION +++ b/.HA_VERSION @@ -1 +1 @@ -0.30.1 \ No newline at end of file +0.30.2 \ No newline at end of file diff --git a/shell_scripts/HAUpdate.sh b/shell_scripts/HAUpdate.sh new file mode 100755 index 00000000..efd9d0c8 --- /dev/null +++ b/shell_scripts/HAUpdate.sh @@ -0,0 +1,10 @@ +#!/bin/bash + +cd /home/hass/.homeassistant +source /srv/hass/hass_venv/bin/activate + +echo "Processing update" +pip3 install --upgrade homeassistant + +hass --script check_config +exit