provision_container: Conditionally apply EasyRDF patch
This commit only applies the EasyRDF when the appropriate file exists.
This commit is contained in:
parent
ab05656bfe
commit
d2283d6379
1 changed files with 4 additions and 2 deletions
|
|
@ -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
|
||||
printdetails
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue