fix solr download error
This commit is contained in:
parent
7368b4caea
commit
39235bea7e
|
@ -14,7 +14,7 @@ export LC_TYPE=en_US.UTF-8
|
|||
if [ `date "+%u"` -eq 1 ]; then
|
||||
management/mail_log.py -t week | management/email_administrator.py "Mail-in-a-Box Usage Report"
|
||||
|
||||
pflogsumm -u 5 -h 5 --problems_first /var/log/mail.log.1 | management/email_administrator.py "Postfix log analysis summary"
|
||||
/usr/sbin/pflogsumm -u 5 -h 5 --problems_first /var/log/mail.log.1 | management/email_administrator.py "Postfix log analysis summary"
|
||||
fi
|
||||
|
||||
# Take a backup.
|
||||
|
|
|
@ -45,7 +45,7 @@ if [ $needs_update == 1 ]; then
|
|||
wget_verify \
|
||||
"https://www.apache.org/dyn/closer.lua?action=download&filename=lucene/solr/$VERSION/solr-$VERSION.tgz" \
|
||||
$HASH \
|
||||
/tmp/solr.tgz
|
||||
/tmp/solr-$VERSION.tgz
|
||||
|
||||
tar xzf /tmp/solr-$VERSION.tgz -C /tmp solr-$VERSION/bin/install_solr_service.sh --strip-components=2
|
||||
# install to usr/local, force update, do not start service on installation complete
|
||||
|
|
|
@ -111,7 +111,7 @@ source setup/dns.sh
|
|||
source setup/mail-postfix.sh
|
||||
source setup/mail-dovecot.sh
|
||||
source setup/mail-users.sh
|
||||
#source setup/solr.sh
|
||||
source setup/solr.sh
|
||||
source setup/dkim.sh
|
||||
source setup/spamassassin.sh
|
||||
source setup/web.sh
|
||||
|
|
Loading…
Reference in New Issue