mirror of
https://github.com/alexbelgium/hassio-addons.git
synced 2026-06-01 05:14:04 +02:00
Update 51-elasticsearch
This commit is contained in:
@@ -19,9 +19,12 @@ fi
|
|||||||
# SwITNet Ltd © - 2021, https://switnet.net/ #
|
# SwITNet Ltd © - 2021, https://switnet.net/ #
|
||||||
#################################################################################
|
#################################################################################
|
||||||
|
|
||||||
if bashio::config.true 'Full_Text_Search' && [ $LAUNCHER fulltextsearch:index &>/dev/null ] ; then
|
if bashio::config.true 'Full_Text_Search'; then
|
||||||
echo "Full Text Search is already working"
|
if [ $LAUNCHER fulltextsearch:index &>/dev/null ] ; then
|
||||||
else
|
echo "Full Text Search is already working"
|
||||||
|
break 2
|
||||||
|
fi
|
||||||
|
|
||||||
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
|
||||||
|
|||||||
Reference in New Issue
Block a user