diff --git a/distillery/resources/compose/barrel/scripts/provision_container.sh b/distillery/resources/compose/barrel/scripts/provision_container.sh index 362c430..523f55d 100644 --- a/distillery/resources/compose/barrel/scripts/provision_container.sh +++ b/distillery/resources/compose/barrel/scripts/provision_container.sh @@ -100,7 +100,9 @@ composer install # Patch EasyRDF (for now) EASYRDF_RESPONSE="./vendor/easyrdf/easyrdf/lib/EasyRdf/Http/Response.php" -patch -N "$EASYRDF_RESPONSE" < "/patch/easyrdf.patch" +if [ -f "$EASYRDF_RESPONSE" ]; then + patch -N "$EASYRDF_RESPONSE" < "/patch/easyrdf.patch" +fi popd drupal_sites_permission_workaround @@ -136,4 +138,4 @@ function printdetails() { echo "Ontology Paths: (empty)" echo "SameAs property: http://www.w3.org/2002/07/owl#sameAs" } -printdetails \ No newline at end of file +printdetails