Parameter numbers

This commit is contained in:
Bob Mottram 2017-02-22 21:40:06 +00:00
parent 80ead339b6
commit baa8c80701
1 changed files with 4 additions and 4 deletions

View File

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