Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
F
freedombone
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Iterations
Wiki
Requirements
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Test cases
Artifacts
Deploy
Releases
Package Registry
Container Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Code review analytics
Issue analytics
Insights
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Context Sensitive Group
freedombone
Commits
16a43442
Commit
16a43442
authored
8 years ago
by
Bob Mottram
Browse files
Options
Downloads
Patches
Plain Diff
Choosing apps
parent
14fd98f0
No related branches found
Branches containing commit
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
src/freedombone-utils-selector
+10
-4
10 additions, 4 deletions
src/freedombone-utils-selector
with
10 additions
and
4 deletions
src/freedombone-utils-selector
+
10
−
4
View file @
16a43442
...
...
@@ -217,7 +217,11 @@ function choose_apps_for_variant {
"
${
variants_list
}
"
==
"
$variant_name
"
*
||
\
"
${
variants_list
}
"
==
*
"
$variant_name
"
*
||
\
"
${
variants_list
}
"
==
*
"
$variant_name
"
]]
;
then
APPS_CHOSEN+
=(
"1"
)
if
[[
$(
app_is_removed
${
a
}
)
==
"0"
]]
;
then
APPS_CHOSEN+
=(
"1"
)
else
APPS_CHOSEN+
=(
"0"
)
fi
else
APPS_CHOSEN+
=(
"0"
)
fi
...
...
@@ -271,7 +275,9 @@ function install_apps {
if
[
${
is_interactive
}
]
;
then
# interactively obtain settings for this app
if
[[
$(
function_exists install_interactive_
${
a
}
)
==
"1"
]]
;
then
install_interactive_
${
a
}
if
[[
$(
app_is_removed
${
a
}
)
==
"0"
]]
;
then
install_interactive_
${
a
}
fi
fi
fi
fi
...
...
@@ -286,9 +292,9 @@ function install_apps {
if
[[
${
APPS_CHOSEN
[
$app_index
]
}
==
"1"
]]
;
then
if
[
${
is_interactive
}
]
;
then
reinstall_app
${
a
}
echo
$"Installing application:
${
a
}
"
echo
$"Installing application
from interactive
:
${
a
}
"
install_
${
a
}
echo
$"
${
a
}
was installed"
echo
$"
${
a
}
was installed
from interactive
"
else
if
[[
$(
app_is_removed
${
a
}
)
==
"0"
]]
;
then
echo
$"Installing application:
${
a
}
"
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment