Bob Mottram 7 jaren geleden
bovenliggende
commit
e053de23af
1 gewijzigde bestanden met toevoegingen van 4 en 4 verwijderingen
  1. 4
    4
      src/freedombone-app-pleroma

+ 4
- 4
src/freedombone-app-pleroma Bestand weergeven

@@ -275,7 +275,7 @@ function add_user_pleroma {
275 275
     new_username="$1"
276 276
     new_user_password="$2"
277 277
 
278
-    ${PROJECT_NAME}-pass -u $new_username -a pleroma -p "$new_user_password"
278
+    "${PROJECT_NAME}-pass" -u "$new_username" -a pleroma -p "$new_user_password"
279 279
 
280 280
     echo '0'
281 281
 }
@@ -304,10 +304,10 @@ function install_interactive_pleroma {
304 304
             else
305 305
                 dialog --backtitle $"Freedombone Configuration" \
306 306
                        --title $"Pleroma Configuration" \
307
-                       --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 \
307
+                       --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 \
308 308
                        $"Domain:" 1 1 "$(grep 'PLEROMA_DOMAIN_NAME' temp.cfg | awk -F '=' '{print $2}')" 1 25 33 40 \
309
-                       $"Title:" 2 1 "$(grep '$PLEROMA_TITLE' temp.cfg | awk -F '=' '{print $2}')" 2 25 255 255 \
310
-                       $"Background image URL:" 3 1 "$(grep '$PLEROMA_BACKGROUND_IMAGE_URL' temp.cfg | awk -F '=' '{print $2}')" 3 25 255 255 \
309
+                       $"Title:" 2 1 "$(grep "$PLEROMA_TITLE" temp.cfg | awk -F '=' '{print $2}')" 2 25 255 255 \
310
+                       $"Background image URL:" 3 1 "$(grep "$PLEROMA_BACKGROUND_IMAGE_URL" temp.cfg | awk -F '=' '{print $2}')" 3 25 255 255 \
311 311
                        2> "$data"
312 312
             fi
313 313
             sel=$?