diff options
Diffstat (limited to 'elasticsearch.install')
-rw-r--r-- | elasticsearch.install | 2 |
1 files changed, 1 insertions, 1 deletions
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 " >> " |