mirror of
https://github.com/zardus/ctf-tools
synced 2024-12-12 05:52:33 +00:00
c6d1f24c57
differentiate between ubuntu versions
11 lines
275 B
Bash
Executable file
11 lines
275 B
Bash
Executable file
#!/bin/bash -ex
|
|
set -eu -o pipefail
|
|
|
|
case "$(lsb_release -cs)" in
|
|
xenial)
|
|
apt-get -o Dpkg::Options::="--force-overwrite" -y install maven libprotobuf-dev openjdk-9-jre openjdk-9-jdk
|
|
;;
|
|
*)
|
|
apt-get -y install maven libprotobuf-dev openjdk-7-jre openjdk-7-jdk
|
|
;;
|
|
esac
|