Update 99-elasticsearch.sh

This commit is contained in:
Alexandre
2023-03-09 04:38:16 +01:00
committed by GitHub
parent dc131bae90
commit 8e67082f0b

View File

@@ -30,12 +30,12 @@ if bashio::config.true 'Full_Text_Search'; then
echo "Installing Full Text Search"
# Reset Full Text Search to be able to index again, and also remove the app to be able to install it again
occ fulltextsearch:reset &>/dev/null || true
APPS=(fulltextsearch fulltextsearch_elasticsearch files_fulltextsearch)
for app in "${APPS[@]}"; do
# If app exists, remove it
[ -n $($LAUNCHER app:getpath $app) ] && $LAUNCHER app:remove $app &>/dev/null
done
# occ fulltextsearch:reset &>/dev/null || true
# APPS=(fulltextsearch fulltextsearch_elasticsearch files_fulltextsearch)
# for app in "${APPS[@]}"; do
# # If app exists, remove it
# [ -n $($LAUNCHER app:getpath $app) ] && $LAUNCHER app:remove $app &>/dev/null
# done
# Get Full Text Search app for nextcloud
for app in "${APPS[@]}"; do