build fix

This commit is contained in:
SJ 2013-09-28 22:24:56 +02:00
parent 8788030456
commit 7b0b913a34

View File

@ -226,6 +226,8 @@ gather_sphinx_data() {
if [ $INDEXER = "/usr/bin/indexer" ]; then SPHINXCFG="/etc/sphinx.conf"; fi if [ $INDEXER = "/usr/bin/indexer" ]; then SPHINXCFG="/etc/sphinx.conf"; fi
if [ -f /etc/sphinxsearch/sphinx.conf || -f /etc/sphinxsearch/sphinx.conf.sample ]; then SPHINXCFG="/etc/sphinxsearch/sphinx.conf"; fi
askNonBlank "Please enter the path of sphinx.conf" "$SPHINXCFG" askNonBlank "Please enter the path of sphinx.conf" "$SPHINXCFG"
SPHINXCFG=$response SPHINXCFG=$response
} }
@ -357,7 +359,7 @@ execute_post_install_tasks() {
make_certificate make_certificate
sed "s/mysqlpwd=verystrongpassword/mysqlpwd=$MYSQL_PASSWORD/" $SYSCONFDIR/piler.conf > $PILERCONF_TMP sed -e "s/mysqlpwd=verystrongpassword/mysqlpwd=$MYSQL_PASSWORD/" -e "s/tls_enable=0/tls_enable=1/" $SYSCONFDIR/piler.conf > $PILERCONF_TMP
cat $PILERCONF_TMP > $SYSCONFDIR/piler.conf cat $PILERCONF_TMP > $SYSCONFDIR/piler.conf
rm -f $PILERCONF_TMP rm -f $PILERCONF_TMP