From eaf30607f09c798c33a561f816c6b47c7c908285 Mon Sep 17 00:00:00 2001 From: "Dr. Ulrich Thomas Gabor" Date: Fri, 30 Sep 2022 13:28:18 +0200 Subject: [PATCH] Removed temporary workaround as it is for a version which is a year old (#3325) --- recipe/shopware.php | 13 ------------- 1 file changed, 13 deletions(-) diff --git a/recipe/shopware.php b/recipe/shopware.php index 46f3a0ee..eb8ad1d9 100644 --- a/recipe/shopware.php +++ b/recipe/shopware.php @@ -156,19 +156,6 @@ task('sw-build-without-db:get-remote-config', static function () { run('./bin/console theme:dump'); download('{{deploy_path}}/current/files/theme-config', './files/'); - - // Temporary workaround to remove absolute file paths in Shopware <6.4.6.0 - // See: - // - https://github.com/shopware/platform/commit/01c8ff86c7d8d3bee1888a26c24c9dc9b4529cbc - // - https://issues.shopware.com/issues/NEXT-17720 - // - https://github.com/deployphp/deployer/issues/2754 - $deployPath = get('deploy_path'); - if (substr($deployPath, -1, 1) !== '/') { - $deployPath .= '/'; - } - $deployPath .= 'releases/[0-9a-zA-Z]*/'; - $escapedDeployPath = str_replace('/', '\\\\/', $deployPath); - runLocally("sed -iE 's#${escapedDeployPath}##g' files/theme-config/* || true"); }); });