Selaa lähdekoodia

List the apps which failed

Bob Mottram 8 vuotta sitten
vanhempi
commit
28b8ebc4da

+ 1
- 0
src/freedombone-addremove Näytä tiedosto

202
     install_apps interactive
202
     install_apps interactive
203
     if [ ! $APP_INSTALLED_SUCCESS ]; then
203
     if [ ! $APP_INSTALLED_SUCCESS ]; then
204
         echo $'One or more apps failed to install'
204
         echo $'One or more apps failed to install'
205
+        cat /tmp/failed_apps
205
         exit 357223
206
         exit 357223
206
     fi
207
     fi
207
 }
208
 }

+ 5
- 0
src/freedombone-utils-selector Näytä tiedosto

427
     is_interactive=$1
427
     is_interactive=$1
428
 
428
 
429
     APP_INSTALLED_SUCCESS=1
429
     APP_INSTALLED_SUCCESS=1
430
+    if [ -f /tmp/failed_apps ]; then
431
+        rm /tmp/failed_apps
432
+    fi
430
 
433
 
431
     # interactive install configuration for each app
434
     # interactive install configuration for each app
432
     if [ ${is_interactive} ]; then
435
     if [ ${is_interactive} ]; then
463
                             install_completed ${a}
466
                             install_completed ${a}
464
                             echo $"${a} was installed from interactive"
467
                             echo $"${a} was installed from interactive"
465
                         else
468
                         else
469
+                            echo "  ${a}" >> /tmp/failed_apps
466
                             APP_INSTALLED_SUCCESS=
470
                             APP_INSTALLED_SUCCESS=
467
                             echo $"${a} was not installed from interactive"
471
                             echo $"${a} was not installed from interactive"
468
                         fi
472
                         fi
488
                                 install_completed ${a}
492
                                 install_completed ${a}
489
                                 echo $"${a} was installed"
493
                                 echo $"${a} was installed"
490
                             else
494
                             else
495
+                                echo "  ${a}" >> /tmp/failed_apps
491
                                 APP_INSTALLED_SUCCESS=
496
                                 APP_INSTALLED_SUCCESS=
492
                                 echo $"${a} was not installed"
497
                                 echo $"${a} was not installed"
493
                             fi
498
                             fi

+ 1
- 0
src/freedombone-utils-setup Näytä tiedosto

555
         install_apps
555
         install_apps
556
         if [ ! $APP_INSTALLED_SUCCESS ]; then
556
         if [ ! $APP_INSTALLED_SUCCESS ]; then
557
             echo $'One or more apps failed to install'
557
             echo $'One or more apps failed to install'
558
+            cat /tmp/failed_apps
558
             exit 368224
559
             exit 368224
559
         fi
560
         fi
560
     fi
561
     fi