berth/tools/gate/setup.sh

14 lines
184 B
Bash
Executable File

#!/bin/sh
set -ex
. /etc/os-release
type=${ID_LIKE:=ID}
if [ "$type" == "debian" ] ; then
apt-get update
apt-get install netcat-openbsd jq
else
yum install netcat jq
fi