We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 956aaf1 commit 6aab412Copy full SHA for 6aab412
gyropilot.sh
@@ -379,13 +379,13 @@ sudo rm -f /etc/nginx/sites-enabled/default
379
echo "$GREEN Done! $END"
380
echo "$YELLOW Resolving Nginx index Dir $END"
381
382
-if [ -d "/var/www/html/" ]
+if ! [ -d "/var/www/html/" ]
383
then
384
+ echo "$GREEN Already solved before! $END"
385
+else
386
sudo mv -f /var/www/html/index.nginx-debian.html /var/www/
387
sudo rm -f -r /var/www/html
388
-else
- echo "$GREEN Already solved before! $END"
389
fi
390
$s1
391
echo
0 commit comments