Update pialert-install.sh

tweak
This commit is contained in:
tteckster 2023-09-16 22:53:33 -04:00 committed by GitHub
parent ed674aaedd
commit 0554641b83
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -56,7 +56,7 @@ msg_ok "Installed Python Dependencies"
msg_info "Installing Pi.Alert (Patience)" msg_info "Installing Pi.Alert (Patience)"
git clone -q https://github.com/leiweibau/Pi.Alert.git /opt/pialert git clone -q https://github.com/leiweibau/Pi.Alert.git /opt/pialert
mkdir -p /opt/pialert/front/reports mkdir -p /opt/pialert/front/reports
rm -rf /var/www/html/index.html /opt/pialert/{docs,install,tar} rm -rf /var/www/html/index.html
mv /var/www/html/index.lighttpd.html /var/www/html/index.lighttpd.html.old mv /var/www/html/index.lighttpd.html /var/www/html/index.lighttpd.html.old
ln -s /opt/pialert/install/index.html /var/www/html/index.html ln -s /opt/pialert/install/index.html /var/www/html/index.html
ln -s /opt/pialert/front /var/www/html/pialert ln -s /opt/pialert/front /var/www/html/pialert