Skip to content
Snippets Groups Projects
Commit 17f42b3e authored by jurgenhaas's avatar jurgenhaas
Browse files

#72 Implement "l3d info"

parent 7984e37b
No related branches found
No related tags found
No related merge requests found
...@@ -16,7 +16,7 @@ function sectionFooter() { ...@@ -16,7 +16,7 @@ function sectionFooter() {
function infol3d() { function infol3d() {
sectionHeader "Your L3D" sectionHeader "Your L3D"
if [[ $HOSTMODE ]]; then if [[ $HOSTMODE == true ]]; then
${SCRIPTPATH}/version ${SCRIPTPATH}/version
echo "" echo ""
${SCRIPTPATH}/list ${SCRIPTPATH}/list
...@@ -51,13 +51,13 @@ function infodocker() { ...@@ -51,13 +51,13 @@ function infodocker() {
} }
SCRIPTPATH="$(cd "$(dirname "$0")" && pwd -P)" SCRIPTPATH="$(cd "$(dirname "$0")" && pwd -P)"
HOSTMODE=true HOSTMODE=false
if [[ -f ${SCRIPTPATH}/selfupdate ]]; then if [[ -f ${SCRIPTPATH}/selfupdate ]]; then
HOSTMODE=false HOSTMODE=true
fi fi
infol3d $1 infol3d $1
if [[ $HOSTMODE ]]; then if [[ $HOSTMODE == true ]]; then
infohost infohost
infodocker infodocker
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