Skip to content

Commit 85323a3

Browse files
authored
Merge pull request #39 from ByteInternet/optional_recovery_install
2 parents 2a8f5d2 + 496e8c9 commit 85323a3

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

Diff for: recipes/shopware6.php

+3-1
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,9 @@
4646
]);
4747

4848
task('sw:deploy:vendors_recovery', static function () {
49-
run('{{bin/composer}} {{composer_action}} -d vendor/shopware/recovery {{composer_options}} 2>&1');
49+
if (test('[ -d vendor/shopware/recovery ]')) {
50+
run('{{bin/composer}} {{composer_action}} -d vendor/shopware/recovery {{composer_options}} 2>&1');
51+
}
5052
});
5153

5254
// This task remotely executes the `cache:clear` console command on the target server.

0 commit comments

Comments
 (0)