From 45b59d510f46da500f709926b6b938359c1b8042 Mon Sep 17 00:00:00 2001 From: "Tim Peters (FaimMedia B.V.)" Date: Tue, 7 Feb 2023 18:13:56 +0100 Subject: [PATCH] Changed update to install incase of lock file --- README.md | 2 +- composer-override | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index b15c1cb..498b314 100644 --- a/README.md +++ b/README.md @@ -14,7 +14,7 @@ If you wish a different path than `/usr/local/bin` you can modify the last two l ```bash wget https://raw.githubusercontent.com/FaimMedia/composer-override/master/composer-override -nv -O composer-override -php -r "if(hash_file('md5', 'composer-override') !== '9f27f51d17f0313f2ff8f8609f5d39f2') { print \"Invalid checksum\r\n\"; exit(1); }" \ +php -r "if(hash_file('md5', 'composer-override') !== '2d2d98355db4bf9893e2689c4f2cf490') { print \"Invalid checksum\r\n\"; exit(1); }" \ && sudo mv composer-override /usr/local/bin/composer-override \ && sudo chmod +x /usr/local/bin/composer-override ``` diff --git a/composer-override b/composer-override index 3ddc03f..68af693 100755 --- a/composer-override +++ b/composer-override @@ -39,7 +39,7 @@ foreach ($passedArgs as $index => $arg) { $args = [ 'COMPOSER=' . escapeshellarg($temp), 'composer', - 'update', + 'install', '--working-dir=' . escapeshellarg(ROOT), ...$passedArgs, ];