From c68e8e69e0769b4a03c8dbf93fd62d65a189909b Mon Sep 17 00:00:00 2001 From: tteckster Date: Sat, 16 Sep 2023 13:54:54 -0400 Subject: [PATCH] Update pialert-install.sh switch to "git clone" installation --- install/pialert-install.sh | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/install/pialert-install.sh b/install/pialert-install.sh index 866bb94a..90a5626d 100644 --- a/install/pialert-install.sh +++ b/install/pialert-install.sh @@ -18,6 +18,7 @@ $STD apt-get -y install \ sudo \ mc \ curl \ + git \ apt-utils \ lighttpd \ sqlite3 \ @@ -52,8 +53,8 @@ $STD pip3 install fritzconnection $STD pip3 install cryptography msg_ok "Installed Python Dependencies" -msg_info "Installing Pi.Alert" -curl -sL https://github.com/leiweibau/Pi.Alert/raw/main/tar/pialert_latest.tar | tar xvf - -C /opt >/dev/null 2>&1 +msg_info "Installing Pi.Alert (Patience)" +git clone -q https://github.com/leiweibau/Pi.Alert.git /opt/pialert mkdir -p /opt/pialert/front/reports rm -rf /var/www/html/index.html /opt/pialert/{docs,install,tar} mv /var/www/html/index.lighttpd.html /var/www/html/index.lighttpd.html.old