diff --git a/install_scripts/fedora_camel_toolbox.sh b/install_scripts/fedora_camel_toolbox.sh index 30f0ace..02f9ed8 100644 --- a/install_scripts/fedora_camel_toolbox.sh +++ b/install_scripts/fedora_camel_toolbox.sh @@ -20,8 +20,8 @@ if [ ! -f "/opt/karaf/etc/org.fcrepo.camel.service.activemq.cfg" ]; then fi # LDPath -if [ ! -f "/opt/karaf/etc/org.fcrepo.camel.service.ldpath.cfg" ]; then - /opt/karaf/bin/client -u karaf -h localhost -a 8101 "feature:install fcrepo-camel-ldpath" +if [ ! -f "/opt/karaf/etc/org.fcrepo.camel.ldpath.cfg" ]; then + /opt/karaf/bin/client -u karaf -h localhost -a 8101 "feature:install fcrepo-ldpath" fi sed -i 's|fcrepo.authUsername=$|fcrepo.authUsername=fedoraAdmin|' /opt/karaf/etc/org.fcrepo.camel.ldpath.cfg sed -i 's|fcrepo.authPassword=$|fcrepo.authPassword=secret3|' /opt/karaf/etc/org.fcrepo.camel.ldpath.cfg