Skip to content

Commit 7facc38

Browse files
committed
Fix docker-compose version pre migration check
Signed-off-by: Riddhesh Sanghvi <[email protected]>
1 parent 2a51dd7 commit 7facc38

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

migrations/db/20240502102550_easyengine_check_and_update_docker_one.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,7 @@ public function up() {
5858
}
5959
$fs->copy( $docker_compose_path, $docker_compose_backup_path );
6060

61-
if ( version_compare( '1.29.2', $docker_compose_version, '>' ) ) {
61+
if ( version_compare( '1.29.2', $docker_compose_version, '!=' ) ) {
6262
EE::exec( "curl -L https://github.com/docker/compose/releases/download/1.29.2/docker-compose-$(uname -s)-$(uname -m) -o $docker_compose_path && chmod +x $docker_compose_path" );
6363
}
6464

0 commit comments

Comments
 (0)