Update install.sh

This commit is contained in:
Esteban Mackay Q 2023-01-25 01:16:14 -05:00 committed by GitHub
parent fa95896174
commit fd0cb7d106
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 8 additions and 1 deletions

View File

@ -20,7 +20,14 @@ cp /opt/FDMR-Monitor/proxy/proxy_db.py /opt/FreeDMR/proxy_db.py
cd /opt/FDMR-Monitor/
sudo rm -r /var/www/fdmr/
if [ -d "/var/www/fdmr" ];
then
rm -r /var/www/fdmr/
#echo "found file"
else
echo "file not found"
fi
mkdir /var/www/fdmr/
cp -r /opt/FDMR-Monitor/html/* /var/www/fdmr/