#!/bin/bash sudo apt-get install maven lame vorbis-tools imagemagick --yes mvn clean mvn package --settings .mvn/custom-settings.xml sudo mkdir /opt/meviz sudo rm /opt/meviz/meviz.jar sudo cp target/meviz-*-jar-with-dependencies.jar /opt/meviz/meviz.jar sudo cp lib/webp-imageio-0.1.6.jar /opt/meviz/web-imageio.jar sudo cp meviz /opt/meviz/ sudo ln -s /opt/meviz/meviz /usr/bin/