Update pialert-install.sh
tweak
This commit is contained in:
parent
ed674aaedd
commit
0554641b83
1 changed files with 1 additions and 1 deletions
|
@ -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
|
||||||
|
|
Loading…
Reference in a new issue