mirror of
https://github.com/iiab/iiab.git
synced 2025-02-14 12:12:12 +00:00
in fl.yml
This commit is contained in:
parent
bac2012f05
commit
3659de2caf
1 changed files with 1 additions and 9 deletions
10
iiab-install
10
iiab-install
|
@ -70,15 +70,7 @@ fi
|
|||
# Stage 0 will always be run. From there on up to Stage 9 we keep a counter
|
||||
# (in /etc/iiab/iiab.env) of the highest completed Stage. Avoid repetition!
|
||||
STAGE=0
|
||||
if [ ! -f /etc/iiab/iiab.env ]; then
|
||||
mkdir -p /etc/iiab
|
||||
echo "Ran 'mkdir -p /etc/iiab'"
|
||||
# ./runtags and Admin Console currently require /etc/iiab/config_vars.yml (in future they may be self-sufficient?)
|
||||
if [ ! -f /etc/iiab/config_vars.yml ]; then
|
||||
echo "{}" > /etc/iiab/config_vars.yml
|
||||
echo "Created stub /etc/iiab/config_vars.yml"
|
||||
fi
|
||||
else
|
||||
if [ -f /etc/iiab/iiab.env ]; then
|
||||
if [[ `grep STAGE= /etc/iiab/iiab.env` ]]; then
|
||||
source /etc/iiab/iiab.env
|
||||
echo "Extracted STAGE="$STAGE" (counter) from /etc/iiab/iiab.env"
|
||||
|
|
Loading…
Reference in a new issue