From 9c72f0115a19d92a2e22a5952fc8d698de4b8fb3 Mon Sep 17 00:00:00 2001 From: Michael Gehring Date: Thu, 13 Jul 2017 09:11:27 +0000 Subject: [PATCH] elasticsearch: fix absolute paths in INSTALL/REMOVE --- srcpkgs/elasticsearch/INSTALL | 12 ++++++------ srcpkgs/elasticsearch/template | 2 +- 2 files changed, 7 insertions(+), 7 deletions(-) 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"