fix
This commit is contained in:
@@ -5,7 +5,7 @@ giusto=$(curl -L https://www.giardiniblog.it/streamingcommunity-nuovo-link/ | gr
|
|||||||
formatted="${giusto#*://}"
|
formatted="${giusto#*://}"
|
||||||
formatted="${formatted%/}"
|
formatted="${formatted%/}"
|
||||||
|
|
||||||
cat <<- _EOF > index.html
|
cat <<- _EOF > /var/www/html/scommunity/index.html
|
||||||
<!DOCTYPE html>
|
<!DOCTYPE html>
|
||||||
<html lang="en">
|
<html lang="en">
|
||||||
|
|
||||||
@@ -66,7 +66,7 @@ cat <<- _EOF > index.html
|
|||||||
|
|
||||||
<div class="link">
|
<div class="link">
|
||||||
<h3>Link aggiornato per Streaming Community:</h3>
|
<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>
|
<h3>(cambia circa una volta al mese)</h3>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
@@ -80,7 +80,7 @@ cat <<- _EOF > index.html
|
|||||||
|
|
||||||
<div class="link">
|
<div class="link">
|
||||||
<h3>Link aggiornato per Streaming Community:</h3>
|
<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>
|
<h3>(cambia circa una volta al mese)</h3>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
@@ -92,5 +92,5 @@ cat <<- _EOF > index.html
|
|||||||
</html>
|
</html>
|
||||||
_EOF
|
_EOF
|
||||||
|
|
||||||
#setta e decommenta per dare i permessi in automatico
|
sudo chown -R www-data:www-data /var/www/html/scommunity ; sudo chmod -R 755 /var/www/html/scommunity
|
||||||
#sudo chown -R www-data:www-data /path/to/streamingcommunity_directory ; sudo chmod -R 755 /path/to/streamingcommunity_directory
|
|
||||||
|
|||||||
Reference in New Issue
Block a user