Skip to content

Commit 4802cea

Browse files
Fix composer install command execution for extensions and skins (#491)
* Fix composer install command execution for extensions and skins * Update extensions-skins.php
1 parent e16b060 commit 4802cea

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

_sources/scripts/extensions-skins.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -70,8 +70,8 @@
7070
if ($additionalSteps !== null) {
7171
foreach ($additionalSteps as $step) {
7272
if ($step === "composer update") {
73-
$composerUpdateCmd = "cd $MW_HOME/$type/$name && composer update --no-dev";
74-
exec($composerUpdateCmd);
73+
$composerInstallCmd = "cd $MW_HOME/$type/$name && COMPOSER_HOME=$MW_HOME composer install --no-interaction";
74+
shell_exec("$composerInstallCmd");
7575
} elseif ($step === "git submodule update") {
7676
$submoduleUpdateCmd = "cd $MW_HOME/$type/$name && git submodule update --init";
7777
exec($submoduleUpdateCmd);

0 commit comments

Comments
 (0)