Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Open sidebar
Philippe Gauron
installation
Commits
ef15c0cf
Commit
ef15c0cf
authored
Apr 24, 2019
by
Philippe Gauron
Browse files
Syntaxe bash et développement affichage si TANGO_DB
parent
7fc6b9f7
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
13 additions
and
6 deletions
+13
-6
script-install.sh
script-install.sh
+13
-6
No files found.
script-install.sh
View file @
ef15c0cf
...
...
@@ -199,7 +199,7 @@ info "server will be installed with TANGOSERVER '${TANGOSERVER}'"
### Checking and correcting of initial configuration
## ${SERVERNAME} == ${TANGOSERVER} -> TANGO-DB=1
if
[
"
${
DEPENDENCIES
}
"
==
"1"
]
\
if
[
"
${
DEPENDENCIES
}
"
-eq
"1"
]
\
&&
[
"
${
SERVERNAME
}
"
==
"
${
TANGOSERVER
}
"
]
\
&&
[
"
${
TANGO_DB
}
"
-eq
"0"
]
then
...
...
@@ -208,7 +208,7 @@ then
fi
## ARCHIVING=1 -> DATABASE=1
if
[
"
${
DEPENDENCIES
}
"
==
"1"
]
&&
[
"
${
DATABASE
}
"
-eq
"0"
]
&&
[
"
${
ARCHIVING
}
"
-eq
"1"
]
if
[
"
${
DEPENDENCIES
}
"
-eq
"1"
]
&&
[
"
${
DATABASE
}
"
-eq
"0"
]
&&
[
"
${
ARCHIVING
}
"
-eq
"1"
]
then
warning
"installation of ARCHIVING asked, DATABASE will be installed."
DATABASE
=
1
...
...
@@ -216,11 +216,18 @@ fi
## TANGO_DB=1 -> TANGO=1 & DATABASE=1
if
[
"
${
DEPENDENCIES
}
"
==
"1"
]
&&
[
"
${
TANGO_DB
}
"
-eq
"1"
]
if
[
"
${
DEPENDENCIES
}
"
-eq
"1"
]
&&
[
"
${
TANGO_DB
}
"
-eq
"1"
]
then
##warning "installation of TANGO_DB asked, TANGO will be installed."
TANGO
=
1
DATABASE
=
1
if
[
"
${
TANGO
}
"
-eq
"0"
]
then
warning
"installation of TANGO_DB asked, TANGO will be installed."
TANGO
=
1
fi
if
[
"
${
DATABASE
}
"
-eq
"0"
]
then
warning
"installation of TANGO_DB asked, DATABASE will be installed."
DATABASE
=
1
fi
fi
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment