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
b507d20f
Commit
b507d20f
authored
8 years ago
by
Bob Mottram
Browse files
Options
Downloads
Patches
Plain Diff
Show possible variants
parent
16123cb9
No related branches found
Branches containing commit
No related tags found
No related merge requests found
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
src/freedombone
+2
-1
2 additions, 1 deletion
src/freedombone
src/freedombone-utils-help
+2
-0
2 additions, 0 deletions
src/freedombone-utils-help
src/freedombone-utils-selector
+10
-0
10 additions, 0 deletions
src/freedombone-utils-selector
with
14 additions
and
1 deletion
src/freedombone
+
2
−
1
View file @
b507d20f
...
...
@@ -288,7 +288,8 @@ function parse_args {
fi
if
[[
$(
is_valid_variant
)
==
"0"
]]
;
then
echo
$"'
$SYSTEM_TYPE
' is an unrecognised
${
PROJECT_NAME
}
variant."
echo
$"'
$SYSTEM_TYPE
' is an unrecognised
${
PROJECT_NAME
}
variant. Possible variants are:"
show_available_variants
exit
367245
fi
}
...
...
This diff is collapsed.
Click to expand it.
src/freedombone-utils-help
+
2
−
0
View file @
b507d20f
...
...
@@ -66,6 +66,8 @@ function show_help {
echo
$' --ns2 Second DNS nameserver'
echo
$' --repo Debian repository'
echo
''
echo
'Possible variants are:'
show_available_variants
exit
0
}
...
...
This diff is collapsed.
Click to expand it.
src/freedombone-utils-selector
+
10
−
0
View file @
b507d20f
...
...
@@ -124,6 +124,16 @@ function is_valid_variant {
return
"0"
}
function
show_available_variants
{
available_variants_list
=()
available_system_variants
for
variant_str
in
"
${
available_variants_list
[@]
}
"
do
echo
"
$variant_str
"
done
}
# mark a given app as having been removed so that it doesn't get reinstalled on updates
function
remove_app
{
app_name
=
$1
...
...
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