diff --git a/update-b.sh b/update-b.sh index aed718f..41d2e99 100644 --- a/update-b.sh +++ b/update-b.sh @@ -46,7 +46,7 @@ Web-Dashboar-soft: /opt/FDMR-Monitor-B2 EOFX fi -if [ -f "/etc/nginx/sites-available/000" ]; then +if [ ! -f "/etc/nginx/sites-available/000" ]; then bash -c "$(curl -fsSLk https://gitlab.com/hp3icc/emq-TE1/-/raw/main/install/nginx.sh)" fi bash -c "$(curl -fsSLk https://gitlab.com/hp3icc/emq-TE1/-/raw/main/menu/menu-fdmr-bridge)" diff --git a/update.sh b/update.sh index 53baf33..61a8b52 100644 --- a/update.sh +++ b/update.sh @@ -47,7 +47,7 @@ Web-Dashboar-soft: /opt/FDMR-Monitor2 EOFX fi -if [ -f "/etc/nginx/sites-available/000" ]; then +if [ ! -f "/etc/nginx/sites-available/000" ]; then bash -c "$(curl -fsSLk https://gitlab.com/hp3icc/emq-TE1/-/raw/main/install/nginx.sh)" fi if [ -f "/opt/extra-1.sh" ]