ctf-tools/jdgui/install-root-debian

13 lines
204 B
Text
Raw Normal View History

#!/bin/bash -ex
2016-10-11 09:46:10 +00:00
set -eu -o pipefail
case "$(lsb_release -cs)" in
xenial)
apt-get -o Dpkg::Options::="--force-overwrite" -y install openjdk-9-jre
;;
*)
apt-get -y install openjdk-7-jre
;;
esac