Skip to content
Snippets Groups Projects
Commit 8112ce8e authored by jurgenhaas's avatar jurgenhaas
Browse files

#54 Add COMPOSER_DOWNGRADE to .env file if available

parent b8459a5d
No related branches found
No related tags found
No related merge requests found
...@@ -28,6 +28,9 @@ function restoreEnvFile { ...@@ -28,6 +28,9 @@ function restoreEnvFile {
if [[ -n ${COMPOSE_PROJECT_NAME} ]]; then if [[ -n ${COMPOSE_PROJECT_NAME} ]]; then
echo "COMPOSE_PROJECT_NAME=${COMPOSE_PROJECT_NAME}" >>.env echo "COMPOSE_PROJECT_NAME=${COMPOSE_PROJECT_NAME}" >>.env
fi fi
if [[ -n ${COMPOSER_DOWNGRADE} ]]; then
echo "COMPOSER_DOWNGRADE=${COMPOSER_DOWNGRADE}" >>.env
fi
if [[ -f ".env" ]]; then if [[ -f ".env" ]]; then
# shellcheck disable=SC2046 # shellcheck disable=SC2046
# shellcheck disable=SC2094 # shellcheck disable=SC2094
......
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