Kaynağa Gözat

Debugging echoes

Bob Mottram 8 yıl önce
ebeveyn
işleme
dd6b3b5d94
1 değiştirilmiş dosya ile 6 ekleme ve 1 silme
  1. 6
    1
      src/freedombone-utils-selector

+ 6
- 1
src/freedombone-utils-selector Dosyayı Görüntüle

@@ -390,15 +390,20 @@ function install_apps {
390 390
         app_index=0
391 391
         for a in "${APPS_AVAILABLE[@]}"
392 392
         do
393
+            echo -n "${a}"
393 394
             if [[ ${APPS_INSTALLED[$app_index]} == "0" ]]; then
395
+                echo -n $" not installed"
394 396
                 if [[ ${APPS_CHOSEN[$app_index]} == "1" ]]; then
397
+                    echo -n $" chosen"
395 398
                     # interactively obtain settings for this app
396 399
                     if [[ $(function_exists install_interactive_${a}) == "1" ]]; then
397
-                        echo $"Interactive settings for ${a}"
400
+                        echo -n $" interactive"
398 401
                         install_interactive_${a}
399 402
                     fi
400 403
                 fi
401 404
             fi
405
+            echo ""
406
+
402 407
             app_index=$[app_index+1]
403 408
         done
404 409
         echo $"Interactive settings complete"