[arch-commits] Commit in elasticsearch/trunk (PKGBUILD)
Massimiliano Torromeo
mtorromeo at nymeria.archlinux.org
Tue May 27 07:39:44 UTC 2014
Date: Tuesday, May 27, 2014 @ 09:39:44
Author: mtorromeo
Revision: 111935
upgpkg: elasticsearch 1.2.0-2
Fixed configuration file paths (FS#40563)
Modified:
elasticsearch/trunk/PKGBUILD
----------+
PKGBUILD | 10 +++++-----
1 file changed, 5 insertions(+), 5 deletions(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2014-05-26 22:29:36 UTC (rev 111934)
+++ PKGBUILD 2014-05-27 07:39:44 UTC (rev 111935)
@@ -5,7 +5,7 @@
pkgname=elasticsearch
pkgver=1.2.0
-pkgrel=1
+pkgrel=2
pkgdesc="Distributed RESTful search engine built on top of Lucene"
arch=('i686' 'x86_64')
url="http://www.elasticsearch.org/"
@@ -40,10 +40,10 @@
echo -e '\nJAVA_OPTS="$JAVA_OPTS -Des.path.conf=/etc/elasticsearch"' >> bin/elasticsearch.in.sh
- sed -e 's/# \(path\.conf: \).*$/\1\/etc\/elasticsearch/' \
- -e '0,/# \(path\.data: \).*$/s//\1\/var\/lib\/elasticsearch/' \
- -e 's/# \(path\.work: \).*$/\1\/tmp\/elasticsearch/' \
- -e 's/# \(path\.logs: \).*$/\1\/var\/log\/elasticsearch/' \
+ sed -re 's/#\s*(path\.conf:).*$/\1 \/etc\/elasticsearch/' \
+ -e '0,/#\s*(path\.data:).*$/s//\1 \/var\/lib\/elasticsearch/' \
+ -e 's/#\s*(path\.work:).*$/\1 \/tmp\/elasticsearch/' \
+ -e 's/#\s*(path\.logs:).*$/\1 \/var\/log\/elasticsearch/' \
-i config/elasticsearch.yml
}
More information about the arch-commits
mailing list