provision_container: Conditionally apply EasyRDF patch

This commit only applies the EasyRDF when the appropriate file exists.
This commit is contained in:
Tom Wiesing 2020-11-13 12:17:41 +01:00
parent ab05656bfe
commit d2283d6379
No known key found for this signature in database
GPG key ID: DC1F29F2BC78AB15

View file

@ -100,7 +100,9 @@ composer install
# Patch EasyRDF (for now) # Patch EasyRDF (for now)
EASYRDF_RESPONSE="./vendor/easyrdf/easyrdf/lib/EasyRdf/Http/Response.php" EASYRDF_RESPONSE="./vendor/easyrdf/easyrdf/lib/EasyRdf/Http/Response.php"
if [ -f "$EASYRDF_RESPONSE" ]; then
patch -N "$EASYRDF_RESPONSE" < "/patch/easyrdf.patch" patch -N "$EASYRDF_RESPONSE" < "/patch/easyrdf.patch"
fi
popd popd
drupal_sites_permission_workaround drupal_sites_permission_workaround