Skip to content
Snippets Groups Projects
Commit 90a4f3d7 authored by Bob Mottram's avatar Bob Mottram
Browse files

Use index.html rather than pleroma.html

parent 1dd5228e
No related branches found
No related tags found
No related merge requests found
......@@ -205,13 +205,12 @@ function install_pleroma {
exit 5282682
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/
pleroma_set_background_image_from_url "$pleroma_domain" "$background_url" "$title"
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 {
......@@ -228,7 +227,6 @@ function upgrade_pleroma {
echo 'Unable to build pleroma'
exit 268362
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/
pleroma_set_background_image_from_url "$domain_name" "$background_url" "$title"
else
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment