Changeset View
Changeset View
Standalone View
Standalone View
contrib/utils/install-dependencies.sh
Show First 20 Lines • Show All 86 Lines • ▼ Show 20 Lines | function join_by() { | ||||
echo "$*" | echo "$*" | ||||
} | } | ||||
apt-get update | apt-get update | ||||
DEBIAN_FRONTEND=noninteractive apt-get install -y $(join_by ' ' "${PACKAGES[@]}") | DEBIAN_FRONTEND=noninteractive apt-get install -y $(join_by ' ' "${PACKAGES[@]}") | ||||
BACKPORTS=( | BACKPORTS=( | ||||
cmake | cmake | ||||
npm | |||||
shellcheck | shellcheck | ||||
) | ) | ||||
echo "deb http://deb.debian.org/debian buster-backports main" | tee -a /etc/apt/sources.list | echo "deb http://deb.debian.org/debian buster-backports main" | tee -a /etc/apt/sources.list | ||||
apt-get update | apt-get update | ||||
DEBIAN_FRONTEND=noninteractive apt-get -t buster-backports install -y $(join_by ' ' "${BACKPORTS[@]}") | DEBIAN_FRONTEND=noninteractive apt-get -t buster-backports install -y $(join_by ' ' "${BACKPORTS[@]}") | ||||
Show All 28 Lines |