From 2bdadf347ca700983d472fa287fa148834275bbd Mon Sep 17 00:00:00 2001 From: David Schroeder Date: Sun, 22 Oct 2023 21:27:54 -0500 Subject: [PATCH] Update install-powerwall.sh --- install-powerwall.sh | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/install-powerwall.sh b/install-powerwall.sh index d5b153d..f7a428e 100755 --- a/install-powerwall.sh +++ b/install-powerwall.sh @@ -16,15 +16,15 @@ fi echo "" echo -e "${idsCL[LightGreen]}PowerWall Installation Script${idsCL[Default]}" -do_with_root $APTFUNC -y install wget curl git +$APTFUNC -y install wget curl git -do_with_root set -eu -do_with_root git clone https://git.schroedercity.com/voltron/powerwall.git /opt/idssys/powerwall -do_with_root ln -s /opt/idssys/powerwall/run.sh /usr/local/bin/powerwall +git clone https://git.schroedercity.com/voltron/powerwall.git /opt/idssys/powerwall +ln -s /opt/idssys/powerwall/run.sh /usr/local/bin/powerwall +ln -s /opt/idssys/powerwall/run.sh /usr/local/bin/pw if [ ! -d "/opt/idssys/defaults" ]; then - do_with_root set -eu - do_with_root git clone https://git.schroedercity.com/voltron/iDS-Defaults.git /opt/idssys/defaults + set -eu + git clone https://git.schroedercity.com/voltron/iDS-Defaults.git /opt/idssys/defaults fi echo -e "" > /opt/idssys/powerwall/settings.conf