/
githubmirror
/
iputils
Обзор
Документация
Войти
/
githubmirror
/
iputils
Код
Запросы
0
Пакеты
0
Релизы
0
Аналитика
Безопасность
20221126
ci/debian.sh
41 строка
957 B
Petr Vorel
ci: Replace groovy -> impish
01 янв 2022, 01:07
Не верифицирован
01 янв 2022, 01:07
b995c36
Код
Авторство
О чём код?
#!/bin/sh # Copyright (c) 2019-2021 Petr Vorel <petr.vorel@gmail.com> set -ex if [ "$DISTRO_VERSION" = "oldstable" ]; then cat <<EOF | tee /etc/apt/sources.list.d/stretch-backports.list deb http://http.debian.net/debian stretch-backports main contrib non-free EOF BACKPORT_REPO="stretch-backports" fi if [ "$DISTRO_VERSION" = "xenial" ]; then cat <<EOF | tee /etc/apt/sources.list.d/xenial-backports.list deb http://archive.ubuntu.com/ubuntu xenial-backports main restricted universe multiverse EOF BACKPORT_REPO="xenial-backports" fi # workaround for Ubuntu impish asking to interactively configure tzdata export DEBIAN_FRONTEND="noninteractive" apt update apt install -y --no-install-recommends \ clang \ docbook-xsl-ns \ file \ gcc \ gettext \ iproute2 \ libcap-dev \ libidn2-0-dev \ libssl-dev \ make \ meson \ pkg-config \ xsltproc if [ "$BACKPORT_REPO" ]; then apt install -y --no-install-recommends -t $BACKPORT_REPO meson fi