From 19bb705c97cd84161ee1b547f63b7a2fea69f473 Mon Sep 17 00:00:00 2001 From: Luis Guzman Date: Mon, 3 Sep 2018 05:59:00 -0500 Subject: [PATCH] Fixed (#646) --- apps/fulltextsearch.sh | 8 ++++---- lib.sh | 2 +- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/apps/fulltextsearch.sh b/apps/fulltextsearch.sh index 206baf77..3f9fa6c0 100644 --- a/apps/fulltextsearch.sh +++ b/apps/fulltextsearch.sh @@ -104,9 +104,9 @@ chown -R www-data:www-data $NC_APPS_PATH occ_command fulltextsearch:configure '{"search_platform":"OCA\\FullTextSearch_ElasticSearch\\Platform\\ElasticSearchPlatform"}' occ_command fulltextsearch_elasticsearch:configure "{\"elastic_host\":\"http://${NCADMIN}:${ROREST}@localhost:9200\",\"elastic_index\":\"${NCADMIN}-index\"}" occ_command files_fulltextsearch:configure "{\"files_pdf\":\"1\",\"files_office\":\"1\"}" -#if occ_command fulltextsearch:index -#then -#msg_box "Full Text Search was successfully installed!" -#fi +if occ_command fulltextsearch:index +then +msg_box "Full Text Search was successfully installed!" +fi exit diff --git a/lib.sh b/lib.sh index cd9702a6..37874a48 100644 --- a/lib.sh +++ b/lib.sh @@ -114,7 +114,7 @@ APACHE2=/etc/apache2/apache2.conf [ ! -z "$ES_INSTALL" ] && NCADMIN=$(sudo -u www-data php $NCPATH/occ user:list | awk '{print $3}') [ ! -z "$ES_INSTALL" ] && ROREST=$(tr -dc "A-Za-z0-9" < /dev/urandom | fold -w "$SHUF" | head -n 1) [ ! -z "$ES_INSTALL" ] && DOCKER_INS=$(dpkg -l | grep ^ii | awk '{print $2}' | grep docker) -[ ! -z "$ES_INSTALL" ] && nc_fts="ark74/nc_fts:latest" +[ ! -z "$ES_INSTALL" ] && nc_fts="ark74/nc_fts" [ ! -z "$ES_INSTALL" ] && fts_es_name="fts_esror" # Talk [ ! -z "$TURN_INSTALL" ] && TURN_CONF="/etc/turnserver.conf"