diff --git a/composer.json b/composer.json index 1004b3899..c8eab2e2d 100644 --- a/composer.json +++ b/composer.json @@ -224,8 +224,8 @@ }, "scripts": { "post-drupal-scaffold-cmd": [ - "[[ ! -d /app/web/sites/default/files/modules_local ]] && mkdir -p /app/web/sites/default/files/modules_local || exit 0", - "[[ ! -L /app/web/modules/local ]] && ln -s /app/web/sites/default/files/modules_local /app/web/modules/local || exit 0" + "[ ! -d web/sites/default/files/modules_local ] && mkdir -p web/sites/default/files/modules_local || exit 0", + "[ ! -L web/modules/local ] && ln -s web/sites/default/files/modules_local web/modules/local || exit 0" ] }, "extra": {