Update 51-elasticsearch

This commit is contained in:
Alexandre
2021-11-08 17:15:23 +01:00
committed by GitHub
parent 80838804bb
commit 6f45744ebb

View File

@@ -19,9 +19,12 @@ fi
# SwITNet Ltd © - 2021, https://switnet.net/ #
#################################################################################
if bashio::config.true 'Full_Text_Search' && [ $LAUNCHER fulltextsearch:index &>/dev/null ] ; then
echo "Full Text Search is already working"
else
if bashio::config.true 'Full_Text_Search'; then
if [ $LAUNCHER fulltextsearch:index &>/dev/null ] ; then
echo "Full Text Search is already working"
break 2
fi
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