[arch-commits] Commit in elasticsearch/trunk (PKGBUILD elasticsearch.install)

Massimiliano Torromeo mtorromeo at archlinux.org
Thu Jan 12 21:07:50 UTC 2017


    Date: Thursday, January 12, 2017 @ 21:07:50
  Author: mtorromeo
Revision: 207097

upgpkg: elasticsearch 5.1.1-2

systemd hooks rebuild

Modified:
  elasticsearch/trunk/PKGBUILD
Deleted:
  elasticsearch/trunk/elasticsearch.install

-----------------------+
 PKGBUILD              |    3 +--
 elasticsearch.install |   14 --------------
 2 files changed, 1 insertion(+), 16 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2017-01-12 21:03:28 UTC (rev 207096)
+++ PKGBUILD	2017-01-12 21:07:50 UTC (rev 207097)
@@ -5,13 +5,12 @@
 
 pkgname=elasticsearch
 pkgver=5.1.1
-pkgrel=1
+pkgrel=2
 pkgdesc="Distributed RESTful search engine built on top of Lucene"
 arch=('any')
 url="https://www.elastic.co/products/elasticsearch"
 license=('APACHE')
 depends=('java-runtime-headless=8' 'systemd')
-install='elasticsearch.install'
 source=(
   "https://artifacts.elastic.co/downloads/$pkgname/$pkgname-$pkgver.tar.gz"
   elasticsearch.service

Deleted: elasticsearch.install
===================================================================
--- elasticsearch.install	2017-01-12 21:03:28 UTC (rev 207096)
+++ elasticsearch.install	2017-01-12 21:07:50 UTC (rev 207097)
@@ -1,14 +0,0 @@
-post_install() {
-    systemd-sysusers elasticsearch.conf
-    systemd-tmpfiles --create elasticsearch.conf
-}
-
-post_upgrade(){
-    systemd-tmpfiles --create elasticsearch.conf
-
-    if [ "$(vercmp $2 5.0.0)" -lt 0 ]; then
-        echo " >> "
-        echo " >> Major version update. PLease take a look at breaking changes https://www.elastic.co/guide/en/elasticsearch/reference/5.0/breaking-changes-5.0.html and remove incompatible plugins from /usr/share/elasticsearch/plugins"
-        echo " >> "
-    fi
-}



More information about the arch-commits mailing list