mirror of
https://github.com/telekom-security/tpotce.git
synced 2025-08-23 03:16:55 +00:00
reads TPOT_TYPE variable from .env, and copies the appropriate file from compose to docker-compose.yml
This commit is contained in:
parent
a116fdcb26
commit
b3c0438b1c
1 changed files with 1 additions and 2 deletions
|
@ -85,7 +85,7 @@ function fuSELFUPDATE () {
|
||||||
elif [ "$TPOT_TYPE" == "MOBILE" ]; then
|
elif [ "$TPOT_TYPE" == "MOBILE" ]; then
|
||||||
cp compose/mobile.yml docker-compose.yml
|
cp compose/mobile.yml docker-compose.yml
|
||||||
else
|
else
|
||||||
TPOT_TYPE="HIVE"
|
cp compose/standard.yml docker-compose.yml
|
||||||
fi
|
fi
|
||||||
fi
|
fi
|
||||||
}
|
}
|
||||||
|
@ -237,7 +237,6 @@ if [ "$1" != "-y" ]; then
|
||||||
exit
|
exit
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
|
||||||
fuCHECK_VERSION
|
fuCHECK_VERSION
|
||||||
fuCHECKINET "https://index.docker.io https://github.com"
|
fuCHECKINET "https://index.docker.io https://github.com"
|
||||||
fuGETTPOTTYPE
|
fuGETTPOTTYPE
|
||||||
|
|
Loading…
Reference in a new issue