summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorBill Ruddock2018-06-15 19:41:12 +0100
committerBill Ruddock2018-06-15 19:44:09 +0100
commit002a4bf28a641d0e5bfc5a9c186e03e1e02a4698 (patch)
treeb36e6cf2f9ac7e24b4aa55309026f8536f1cd9f5
parent21a8f1958a010c9d74fc9497ed5048b8d7514082 (diff)
downloadaur-002a4bf28a641d0e5bfc5a9c186e03e1e02a4698.tar.gz
Escape arg in version compare
-rw-r--r--.SRCINFO2
-rw-r--r--PKGBUILD2
-rw-r--r--elasticsearch.install2
3 files changed, 3 insertions, 3 deletions
diff --git a/.SRCINFO b/.SRCINFO
index 3c88e8255582..272288892cd0 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,7 +1,7 @@
pkgbase = elasticsearch5
pkgdesc = Distributed RESTful search engine built on top of Lucene
pkgver = 5.6.9
- pkgrel = 1
+ pkgrel = 2
url = https://www.elastic.co/products/elasticsearch
install = elasticsearch.install
arch = any
diff --git a/PKGBUILD b/PKGBUILD
index 964cabe0dd53..03be80bbe03a 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -6,7 +6,7 @@
_pkgname=elasticsearch
pkgname=elasticsearch5
pkgver=5.6.9
-pkgrel=1
+pkgrel=2
pkgdesc="Distributed RESTful search engine built on top of Lucene"
arch=('any')
url="https://www.elastic.co/products/elasticsearch"
diff --git a/elasticsearch.install b/elasticsearch.install
index f198e73ec4c1..2b4c4cc21b7b 100644
--- a/elasticsearch.install
+++ b/elasticsearch.install
@@ -6,7 +6,7 @@ post_install() {
post_upgrade(){
systemd-tmpfiles --create elasticsearch.conf
- if [ "$(vercmp $2 5.0.0)" -lt 0 ]; then
+ 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 " >> "