Skip to content

Commit 5c59fb6

Browse files
authored
IBX-10494: Relax pattern for display database version (#112)
1 parent f5dea1d commit 5c59fb6

File tree

4 files changed

+4
-4
lines changed

4 files changed

+4
-4
lines changed

bin/4.6.x-dev/prepare_project_edition.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -190,7 +190,7 @@ docker compose --env-file=.env exec -T --user www-data app sh -c "php /scripts/w
190190
docker compose --env-file=.env exec -T --user www-data app sh -c "php bin/console ibexa:reindex"
191191

192192
echo '> Display database version for debugging'
193-
if [[ "$COMPOSE_FILE" == *"db-postgresql.yml"* ]]; then
193+
if [[ "$COMPOSE_FILE" == *"db-postgresql"*.yml ]]; then
194194
docker exec ibexa-db-1 sh -c "psql -V"
195195
else
196196
docker exec ibexa-db-1 sh -c "mysql -V"

bin/5.0.x-dev/prepare_project_edition.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -171,7 +171,7 @@ docker compose --env-file=.env exec -T --user www-data app sh -c "php /scripts/w
171171
docker compose --env-file=.env exec -T --user www-data app sh -c "php bin/console ibexa:reindex"
172172

173173
echo '> Display database version for debugging'
174-
if [[ "$COMPOSE_FILE" == *"db-postgresql.yml"* ]]; then
174+
if [[ "$COMPOSE_FILE" == *"db-postgresql"*.yml ]]; then
175175
docker exec ibexa-db-1 sh -c "psql -V"
176176
else
177177
docker exec ibexa-db-1 sh -c "mysql -V"

bin/^3.3.x-dev/prepare_project_edition.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -165,7 +165,7 @@ docker compose --env-file=.env exec -T --user www-data app sh -c "php /scripts/w
165165
docker compose --env-file=.env exec -T --user www-data app sh -c "php bin/console ibexa:reindex"
166166

167167
echo '> Display database version for debugging'
168-
if [[ "$COMPOSE_FILE" == *"db-postgresql.yml"* ]]; then
168+
if [[ "$COMPOSE_FILE" == *"db-postgresql"*.yml ]]; then
169169
docker exec ibexa-db-1 sh -c "psql -V"
170170
else
171171
docker exec ibexa-db-1 sh -c "mysql -V"

bin/stable/prepare_project_edition.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -99,7 +99,7 @@ docker compose --env-file=.env exec -T --user www-data app sh -c "php /scripts/w
9999
docker compose --env-file=.env exec -T --user www-data app sh -c "php bin/console ibexa:reindex"
100100

101101
echo '> Display database version for debugging'
102-
if [[ "$COMPOSE_FILE" == *"db-postgresql.yml"* ]]; then
102+
if [[ "$COMPOSE_FILE" == *"db-postgresql"*.yml ]]; then
103103
docker exec ibexa-db-1 sh -c "psql -V"
104104
else
105105
docker exec ibexa-db-1 sh -c "mysql -V"

0 commit comments

Comments
 (0)