Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
L
LakeDropsDrupalDev
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Deploy
Releases
Container Registry
Model registry
Monitor
Service Desk
Analyze
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
Docker
LakeDropsDrupalDev
Commits
17f42b3e
Commit
17f42b3e
authored
4 years ago
by
jurgenhaas
Browse files
Options
Downloads
Patches
Plain Diff
#72
Implement "l3d info"
parent
7984e37b
No related branches found
Branches containing commit
Tags
v2.4.1
v2.4.2
Tags containing commit
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
run/scripts/info
+4
-4
4 additions, 4 deletions
run/scripts/info
with
4 additions
and
4 deletions
run/scripts/info
+
4
−
4
View file @
17f42b3e
...
...
@@ -16,7 +16,7 @@ function sectionFooter() {
function
infol3d
()
{
sectionHeader
"Your L3D"
if
[[
$HOSTMODE
]]
;
then
if
[[
$HOSTMODE
==
true
]]
;
then
${
SCRIPTPATH
}
/version
echo
""
${
SCRIPTPATH
}
/list
...
...
@@ -51,13 +51,13 @@ function infodocker() {
}
SCRIPTPATH
=
"
$(
cd
"
$(
dirname
"
$0
"
)
"
&&
pwd
-P
)
"
HOSTMODE
=
tru
e
HOSTMODE
=
fals
e
if
[[
-f
${
SCRIPTPATH
}
/selfupdate
]]
;
then
HOSTMODE
=
fals
e
HOSTMODE
=
tru
e
fi
infol3d
$1
if
[[
$HOSTMODE
]]
;
then
if
[[
$HOSTMODE
==
true
]]
;
then
infohost
infodocker
fi
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