Use index.html rather than pleroma.html

This commit is contained in:
Bob Mottram 2017-04-04 16:31:44 +01:00
parent 1dd5228ef6
commit 90a4f3d77a
1 changed files with 1 additions and 3 deletions

View File

@ -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