diff --git a/src/freedombone-utils-gnusocialtools b/src/freedombone-utils-gnusocialtools index c6910b4f..1aa93aca 100755 --- a/src/freedombone-utils-gnusocialtools +++ b/src/freedombone-utils-gnusocialtools @@ -157,9 +157,9 @@ function install_qvitter { function install_pleroma { app_name="$1" - pleroma_domain="$1" - background_url="$2" - title="$3" + pleroma_domain="$2" + background_url="$3" + title="$4" if [ ! -d ~/build/pleroma ]; then function_check git_clone @@ -184,7 +184,7 @@ function install_pleroma { mv ~/build/pleroma/dist/index.html ~/build/pleroma/dist/pleroma.html cp -r ~/build/pleroma/dist/* /var/www/$pleroma_domain/htdocs/ - gnusocial_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 sed -i 's|index index.php;|index pleroma.html;|g' $nginx_site