From 5014eebe5fedc28b5a41d1a85650d446f47d2aac Mon Sep 17 00:00:00 2001 From: Giorgio Ravera Date: Sat, 20 Jul 2019 12:49:19 +0200 Subject: [PATCH] Improvements to shell scripts --- shell_scripts/homeassistant_upgrade.sh | 2 +- shell_scripts/shelly_upgrade.sh | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/shell_scripts/homeassistant_upgrade.sh b/shell_scripts/homeassistant_upgrade.sh index 5f1e2693..9e431f26 100755 --- a/shell_scripts/homeassistant_upgrade.sh +++ b/shell_scripts/homeassistant_upgrade.sh @@ -5,5 +5,5 @@ cd echo "Activating python environment" source bin/activate echo "Upgrading homeassistant" -pip3 install --upgrade homeassistant > /var/log/homeassistant/upgrade.log +pip3 install --upgrade homeassistant 2>&1 | tee /var/log/homeassistant/upgrade.log echo "Done" diff --git a/shell_scripts/shelly_upgrade.sh b/shell_scripts/shelly_upgrade.sh index ec4011a0..c24c317d 100644 --- a/shell_scripts/shelly_upgrade.sh +++ b/shell_scripts/shelly_upgrade.sh @@ -11,8 +11,8 @@ SHELLY_ID=( shelly1-24D1EE shelly1-93B27D shellyswitch25-7457D8 - shelly1-59E18C - shelly1-24D1A8 + shelly1-59E18C + shelly1-24D1A8 shellybulb-BC8610 ) -- 2.47.3