Use index.html rather than pleroma.html
This commit is contained in:
parent
1dd5228ef6
commit
90a4f3d77a
|
@ -205,13 +205,12 @@ function install_pleroma {
|
||||||
exit 5282682
|
exit 5282682
|
||||||
fi
|
fi
|
||||||
|
|
||||||
mv $INSTALL_DIR/pleroma/dist/index.html $INSTALL_DIR/pleroma/dist/pleroma.html
|
|
||||||
cp -r $INSTALL_DIR/pleroma/dist/* /var/www/${pleroma_domain}/htdocs/
|
cp -r $INSTALL_DIR/pleroma/dist/* /var/www/${pleroma_domain}/htdocs/
|
||||||
|
|
||||||
pleroma_set_background_image_from_url "$pleroma_domain" "$background_url" "$title"
|
pleroma_set_background_image_from_url "$pleroma_domain" "$background_url" "$title"
|
||||||
|
|
||||||
nginx_site=/etc/nginx/sites-available/${pleroma_domain}
|
nginx_site=/etc/nginx/sites-available/${pleroma_domain}
|
||||||
sed -i 's|index index.php;|index pleroma.html;|g' $nginx_site
|
sed -i 's|index index.php;|index index.html;|g' $nginx_site
|
||||||
}
|
}
|
||||||
|
|
||||||
function upgrade_pleroma {
|
function upgrade_pleroma {
|
||||||
|
@ -228,7 +227,6 @@ function upgrade_pleroma {
|
||||||
echo 'Unable to build pleroma'
|
echo 'Unable to build pleroma'
|
||||||
exit 268362
|
exit 268362
|
||||||
fi
|
fi
|
||||||
mv $INSTALL_DIR/pleroma/dist/index.html $INSTALL_DIR/pleroma/dist/pleroma.html
|
|
||||||
cp -r $INSTALL_DIR/pleroma/dist/* /var/www/${domain_name}/htdocs/
|
cp -r $INSTALL_DIR/pleroma/dist/* /var/www/${domain_name}/htdocs/
|
||||||
pleroma_set_background_image_from_url "$domain_name" "$background_url" "$title"
|
pleroma_set_background_image_from_url "$domain_name" "$background_url" "$title"
|
||||||
else
|
else
|
||||||
|
|
Loading…
Reference in New Issue