From baa8c80701a589f66616db11de6399c9722c8d3d Mon Sep 17 00:00:00 2001 From: Bob Mottram Date: Wed, 22 Feb 2017 21:40:06 +0000 Subject: [PATCH] Parameter numbers --- src/freedombone-utils-gnusocialtools | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) 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