From e053de23aff15fca631a8523b9444e4a423429c7 Mon Sep 17 00:00:00 2001 From: Bob Mottram Date: Fri, 2 Mar 2018 19:54:04 +0000 Subject: [PATCH] quotes --- src/freedombone-app-pleroma | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/freedombone-app-pleroma b/src/freedombone-app-pleroma index 8cf2135c..eb2ebb1a 100755 --- a/src/freedombone-app-pleroma +++ b/src/freedombone-app-pleroma @@ -275,7 +275,7 @@ function add_user_pleroma { new_username="$1" new_user_password="$2" - ${PROJECT_NAME}-pass -u $new_username -a pleroma -p "$new_user_password" + "${PROJECT_NAME}-pass" -u "$new_username" -a pleroma -p "$new_user_password" echo '0' } @@ -304,10 +304,10 @@ function install_interactive_pleroma { else dialog --backtitle $"Freedombone Configuration" \ --title $"Pleroma Configuration" \ - --form $"\nPlease enter your Pleroma details. The background image URL can be left blank.\n\nIMPORTANT: This should be a domain name which is supported by Let's Encrypt:" 16 65 4 \ + --form $"\\nPlease enter your Pleroma details. The background image URL can be left blank.\\n\\nIMPORTANT: This should be a domain name which is supported by Let's Encrypt:" 16 65 4 \ $"Domain:" 1 1 "$(grep 'PLEROMA_DOMAIN_NAME' temp.cfg | awk -F '=' '{print $2}')" 1 25 33 40 \ - $"Title:" 2 1 "$(grep '$PLEROMA_TITLE' temp.cfg | awk -F '=' '{print $2}')" 2 25 255 255 \ - $"Background image URL:" 3 1 "$(grep '$PLEROMA_BACKGROUND_IMAGE_URL' temp.cfg | awk -F '=' '{print $2}')" 3 25 255 255 \ + $"Title:" 2 1 "$(grep "$PLEROMA_TITLE" temp.cfg | awk -F '=' '{print $2}')" 2 25 255 255 \ + $"Background image URL:" 3 1 "$(grep "$PLEROMA_BACKGROUND_IMAGE_URL" temp.cfg | awk -F '=' '{print $2}')" 3 25 255 255 \ 2> "$data" fi sel=$?