Skip to content

Commit

Permalink
Changed update to install incase of lock file
Browse files Browse the repository at this point in the history
  • Loading branch information
FaimMedia committed Feb 7, 2023
1 parent b2c8a27 commit 45b59d5
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
```
Expand Down
2 changes: 1 addition & 1 deletion composer-override
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ foreach ($passedArgs as $index => $arg) {
$args = [
'COMPOSER=' . escapeshellarg($temp),
'composer',
'update',
'install',
'--working-dir=' . escapeshellarg(ROOT),
...$passedArgs,
];
Expand Down

0 comments on commit 45b59d5

Please sign in to comment.