diff --git a/srcpkgs/elasticsearch/INSTALL b/srcpkgs/elasticsearch/INSTALL index 84b01fd64a..622fb85bda 100644 --- a/srcpkgs/elasticsearch/INSTALL +++ b/srcpkgs/elasticsearch/INSTALL @@ -3,12 +3,12 @@ case "$ACTION" in post) if [ "$UPDATE" != "yes" ]; then # actions to execute if package is being installed. - install -d /usr/share/elasticsearch/plugins - install -d -m0750 /var/log/elasticsearch - install -d -m0750 /var/lib/elasticsearch/data - chown -R elastic /etc/elasticsearch - chown -R elastic /var/lib/elasticsearch/data - chown -R elastic /var/log/elasticsearch + install -d usr/share/elasticsearch/plugins + install -d -m0750 var/log/elasticsearch + install -d -m0750 var/lib/elasticsearch/data + chown -R elastic etc/elasticsearch + chown -R elastic var/lib/elasticsearch/data + chown -R elastic var/log/elasticsearch fi ;; esac diff --git a/srcpkgs/elasticsearch/template b/srcpkgs/elasticsearch/template index 24d277cf78..315608c3b2 100644 --- a/srcpkgs/elasticsearch/template +++ b/srcpkgs/elasticsearch/template @@ -1,7 +1,7 @@ # Template file for 'elasticsearch' pkgname=elasticsearch version=5.1.2 -revision=1 +revision=2 wrksrc="elasticsearch-${version}" only_for_archs="i686 x86_64" depends="virtual?java-runtime"