From 2c613dcdf6792e4e8314acdf311d38bbb678be5f Mon Sep 17 00:00:00 2001
From: Patrick Weyck
Date: Wed, 11 Mar 2020 13:34:11 +0100
Subject: [PATCH] NEXT-7591 - Fix composer post install check
---
composer.json | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/composer.json b/composer.json
index 012de794..50ff6b08 100644
--- a/composer.json
+++ b/composer.json
@@ -28,7 +28,7 @@
},
"scripts": {
"post-update-cmd": [
- "[ ! -d platform ] || [ -L vendor/shopware/platform ] || (echo 'vendor/shopware/platform should be a symlink to platform'; exit 1)",
+ "[ ! -d platform/.git ] || [ -L vendor/shopware/platform ] || (echo 'vendor/shopware/platform should be a symlink to platform'; exit 1)",
"[ ! -d vendor/shopware/platform/.git ] || ln -sf $PWD/dev-ops/pre-commit vendor/shopware/platform/.git/hooks/pre-commit"
]
},