Skip to content

Commit

Permalink
Ensures that external content path file is included in export.
Browse files Browse the repository at this point in the history
  • Loading branch information
dbernstein authored and Andrew Woods committed Apr 4, 2019
1 parent 83580a5 commit 16b9bdb
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion install_scripts/fedora.sh
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,11 @@ if ! grep -q "fcrepo.modeshape.configuration" /etc/default/tomcat7 ; then
echo "CATALINA_OPTS=\"\${CATALINA_OPTS} -Dfcrepo.modeshape.configuration=${MODESHAPE_CONFIG}\"" >> /etc/default/tomcat7;
fi

echo "CATALINA_OPTS=\"\${CATALINA_OPTS} -Dfcrepo.external.content.allowed=$SHARED_DIR/install_scripts/external-content-allowed-paths.txt\"" >> /etc/default/tomcat7;
if [ ! -f "$HOME_DIR/external-content-allowed-paths.txt" ]; then
cp "$SHARED_DIR/install_scripts/external-content-allowed-paths.txt" $HOME_DIR
fi

echo "CATALINA_OPTS=\"\${CATALINA_OPTS} -Dfcrepo.external.content.allowed=${HOME_DIR}/external-content-allowed-paths.txt\"" >> /etc/default/tomcat7;
echo "CATALINA_OPTS=\"\${CATALINA_OPTS} -Dfcrepo.properties.management=relaxed\"" >> /etc/default/tomcat7;

if [ ! -f "$HOME_DIR/fcrepo-config.xml" ]; then
Expand Down

0 comments on commit 16b9bdb

Please sign in to comment.