Skip to content
Snippets Groups Projects
Commit 28b8ebc4 authored by Bob Mottram's avatar Bob Mottram
Browse files

List the apps which failed

parent 1e612fa0
No related branches found
No related tags found
No related merge requests found
......@@ -202,6 +202,7 @@ function install_apps_selected {
install_apps interactive
if [ ! $APP_INSTALLED_SUCCESS ]; then
echo $'One or more apps failed to install'
cat /tmp/failed_apps
exit 357223
fi
}
......
......@@ -427,6 +427,9 @@ function install_apps {
is_interactive=$1
APP_INSTALLED_SUCCESS=1
if [ -f /tmp/failed_apps ]; then
rm /tmp/failed_apps
fi
# interactive install configuration for each app
if [ ${is_interactive} ]; then
......@@ -463,6 +466,7 @@ function install_apps {
install_completed ${a}
echo $"${a} was installed from interactive"
else
echo " ${a}" >> /tmp/failed_apps
APP_INSTALLED_SUCCESS=
echo $"${a} was not installed from interactive"
fi
......@@ -488,6 +492,7 @@ function install_apps {
install_completed ${a}
echo $"${a} was installed"
else
echo " ${a}" >> /tmp/failed_apps
APP_INSTALLED_SUCCESS=
echo $"${a} was not installed"
fi
......
......@@ -555,6 +555,7 @@ function setup_apps {
install_apps
if [ ! $APP_INSTALLED_SUCCESS ]; then
echo $'One or more apps failed to install'
cat /tmp/failed_apps
exit 368224
fi
fi
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment