mirror of
https://github.com/alexbelgium/hassio-addons.git
synced 2026-05-18 14:51:50 +02:00
Update 99-elasticsearch.sh
This commit is contained in:
@@ -30,12 +30,12 @@ if bashio::config.true 'Full_Text_Search'; then
|
|||||||
|
|
||||||
echo "Installing Full Text Search"
|
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
|
# 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
|
# occ fulltextsearch:reset &>/dev/null || true
|
||||||
APPS=(fulltextsearch fulltextsearch_elasticsearch files_fulltextsearch)
|
# APPS=(fulltextsearch fulltextsearch_elasticsearch files_fulltextsearch)
|
||||||
for app in "${APPS[@]}"; do
|
# for app in "${APPS[@]}"; do
|
||||||
# If app exists, remove it
|
# # If app exists, remove it
|
||||||
[ -n $($LAUNCHER app:getpath $app) ] && $LAUNCHER app:remove $app &>/dev/null
|
# [ -n $($LAUNCHER app:getpath $app) ] && $LAUNCHER app:remove $app &>/dev/null
|
||||||
done
|
# done
|
||||||
|
|
||||||
# Get Full Text Search app for nextcloud
|
# Get Full Text Search app for nextcloud
|
||||||
for app in "${APPS[@]}"; do
|
for app in "${APPS[@]}"; do
|
||||||
|
|||||||
Reference in New Issue
Block a user