fix
This commit is contained in:
@@ -5,7 +5,7 @@ giusto=$(curl -L https://www.giardiniblog.it/streamingcommunity-nuovo-link/ | gr
|
||||
formatted="${giusto#*://}"
|
||||
formatted="${formatted%/}"
|
||||
|
||||
cat <<- _EOF > index.html
|
||||
cat <<- _EOF > /var/www/html/scommunity/index.html
|
||||
<!DOCTYPE html>
|
||||
<html lang="en">
|
||||
|
||||
@@ -66,25 +66,25 @@ cat <<- _EOF > index.html
|
||||
|
||||
<div class="link">
|
||||
<h3>Link aggiornato per Streaming Community:</h3>
|
||||
<h1><a href=https://streamingcommunity.market />streamingcommunity.market</a></h1>
|
||||
<h1><a href=$giusto>$giusto</a></h1>
|
||||
<h3>(cambia circa una volta al mese)</h3>
|
||||
</div>
|
||||
|
||||
<br><br>
|
||||
|
||||
<a href=$giusto target="_blank">
|
||||
<a href=$giusto target="_blank">
|
||||
<img style="display:block; margin-left: auto; margin-right: auto" src="./splash.gif">
|
||||
</a>
|
||||
</a>
|
||||
|
||||
<br><br>
|
||||
|
||||
<div class="link">
|
||||
<h3>Link aggiornato per Streaming Community:</h3>
|
||||
<h1><a href=https://streamingcommunity.market />streamingcommunity.market</a></h1>
|
||||
<h1><a href=$giusto>$giusto</a></h1>
|
||||
<h3>(cambia circa una volta al mese)</h3>
|
||||
</div>
|
||||
|
||||
<br><br>
|
||||
<br><br>
|
||||
|
||||
</center>
|
||||
</body>
|
||||
@@ -92,5 +92,5 @@ cat <<- _EOF > index.html
|
||||
</html>
|
||||
_EOF
|
||||
|
||||
#setta e decommenta per dare i permessi in automatico
|
||||
#sudo chown -R www-data:www-data /path/to/streamingcommunity_directory ; sudo chmod -R 755 /path/to/streamingcommunity_directory
|
||||
sudo chown -R www-data:www-data /var/www/html/scommunity ; sudo chmod -R 755 /var/www/html/scommunity
|
||||
|
||||
|
||||
Reference in New Issue
Block a user