Update install.sh

This commit is contained in:
Esteban Mackay Q 2023-01-26 00:13:20 -05:00 committed by GitHub
parent f08a977e0e
commit d0158f6d6b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 24 additions and 0 deletions

View File

@ -58,7 +58,31 @@ sudo pip3 install ansi2html
sudo apt-get install python-pip -y
sudo apt-get install python-dev -y
sudo apt-get install rrdtool -y
#
if [ -d "/opt/FreeDMR" ];
then
sudo rm /opt/FreeDMR/ -r
#echo "found file"
else
echo "file not found"
fi
if [ -d "/opt/FDMR-Monitor" ];
then
sudo rm /opt/FDMR-Monitor/ -r
#echo "found file"
else
echo "file not found"
fi
if [ -d "/var/www/fdmr" ];
then
sudo rm /var/www/fdmr/ -r
#echo "found file"
else
echo "file not found"
fi
##################
sudo cat > /opt/emq-ver <<- "EOF"
EMQ-VER: 20