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

Tidying

parent 199aef43
No related branches found
No related tags found
No related merge requests found
......@@ -646,6 +646,12 @@ function remove_users_for_app {
done
}
function app_being_added_indicator {
if [ ! -f /root/.addremove_app_command ]; then
touch /root/.addremove_app_command
fi
}
function install_apps {
is_interactive=$1
......@@ -688,9 +694,8 @@ function install_apps {
else
echo $"Installing application from interactive: ${a}"
APP_INSTALLED=
if [ ! -f /root/.addremove_app_command ]; then
touch /root/.addremove_app_command
fi
function_check app_being_added_indicator
app_being_added_indicator
"install_${a}"
if [ $APP_INSTALLED ]; then
function_check app_save_variables
......@@ -723,9 +728,8 @@ function install_apps {
else
echo $"Installing application: ${a}"
APP_INSTALLED=
if [ ! -f /root/.addremove_app_command ]; then
touch /root/.addremove_app_command
fi
function_check app_being_added_indicator
app_being_added_indicator
"install_${a}"
if [ $APP_INSTALLED ]; then
function_check app_save_variables
......
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