fixed install script
authorSvjatoslav Agejenko <svjatoslav@svjatoslav.eu>
Tue, 25 Apr 2017 05:19:59 +0000 (08:19 +0300)
committerSvjatoslav Agejenko <svjatoslav@svjatoslav.eu>
Tue, 25 Apr 2017 05:19:59 +0000 (08:19 +0300)
install

diff --git a/install b/install
index f4a760e..933f49d 100755 (executable)
--- a/install
+++ b/install
@@ -7,9 +7,6 @@ mvn package
 
 sudo mkdir /opt/meviz
 sudo rm /opt/meviz/meviz.jar
-sudo cp target/meviz-1.0-SNAPSHOT-jar-with-dependencies.jar /opt/meviz/meviz.jar
+sudo cp target/meviz-*-jar-with-dependencies.jar /opt/meviz/meviz.jar
 sudo cp meviz /opt/meviz/
 sudo ln -s /opt/meviz/meviz /usr/bin/
-