summaryrefslogtreecommitdiff
path: root/install-build-deps.sh
blob: 9f8e9e7bfef1ef6a59341a53f3888a683ca18dde (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
#!/bin/bash -e

source /etc/os-release
set -x

case $ID in
	ubuntu*)
		apt-get install -y gcc make cmake libssh-dev
		;;
	centos* | rhel*)
		dnf install -y gcc make cmake libssh-devel rpm-build
		;;
	*)
		echo "unsupported dependency install: $ID"
		exit 1
esac