|
@@ -205,13 +205,12 @@ function install_pleroma {
|
205
|
205
|
exit 5282682
|
206
|
206
|
fi
|
207
|
207
|
|
208
|
|
- mv $INSTALL_DIR/pleroma/dist/index.html $INSTALL_DIR/pleroma/dist/pleroma.html
|
209
|
208
|
cp -r $INSTALL_DIR/pleroma/dist/* /var/www/${pleroma_domain}/htdocs/
|
210
|
209
|
|
211
|
210
|
pleroma_set_background_image_from_url "$pleroma_domain" "$background_url" "$title"
|
212
|
211
|
|
213
|
212
|
nginx_site=/etc/nginx/sites-available/${pleroma_domain}
|
214
|
|
- sed -i 's|index index.php;|index pleroma.html;|g' $nginx_site
|
|
213
|
+ sed -i 's|index index.php;|index index.html;|g' $nginx_site
|
215
|
214
|
}
|
216
|
215
|
|
217
|
216
|
function upgrade_pleroma {
|
|
@@ -228,7 +227,6 @@ function upgrade_pleroma {
|
228
|
227
|
echo 'Unable to build pleroma'
|
229
|
228
|
exit 268362
|
230
|
229
|
fi
|
231
|
|
- mv $INSTALL_DIR/pleroma/dist/index.html $INSTALL_DIR/pleroma/dist/pleroma.html
|
232
|
230
|
cp -r $INSTALL_DIR/pleroma/dist/* /var/www/${domain_name}/htdocs/
|
233
|
231
|
pleroma_set_background_image_from_url "$domain_name" "$background_url" "$title"
|
234
|
232
|
else
|