mirror of
https://bitbucket.org/jsuto/piler.git
synced 2024-12-24 18:30:11 +01:00
Fix sphinx version in postinstall
Signed-off-by: Janos SUTO <sj@acts.hu>
This commit is contained in:
parent
9c2e2e8fe4
commit
26808ca40d
@ -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."
|
||||
|
Loading…
Reference in New Issue
Block a user