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
Tags v2.4.1 v2.4.2
No related merge requests found
......@@ -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=true
HOSTMODE=false
if [[ -f ${SCRIPTPATH}/selfupdate ]]; then
HOSTMODE=false
HOSTMODE=true
fi
infol3d $1
if [[ $HOSTMODE ]]; then
if [[ $HOSTMODE == true ]]; then
infohost
infodocker
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