From 26808ca40d6a51079e0867766115ab92b3a1b9e2 Mon Sep 17 00:00:00 2001 From: Janos SUTO Date: Sun, 15 Dec 2019 14:13:26 +0100 Subject: [PATCH] Fix sphinx version in postinstall Signed-off-by: Janos SUTO --- util/postinstall.sh.in | 2 ++ 1 file changed, 2 insertions(+) diff --git a/util/postinstall.sh.in b/util/postinstall.sh.in index 2340e0a8..43a7ad10 100755 --- a/util/postinstall.sh.in +++ b/util/postinstall.sh.in @@ -360,6 +360,8 @@ execute_post_install_tasks() { chmod +x "$SPHINXCFG" echo "Done." + if indexer --version | grep ^Sphinx\ 3; then sed -i 's/220/311/' "$SPHINXCFG"; fi + echo -n "Initializing sphinx indices... "; su "$PILERUSER" -c "indexer --all --config ${SPHINXCFG}" echo "Done."