/
githubmirror
/
iputils
Обзор
Документация
Войти
/
githubmirror
/
iputils
Код
Запросы
0
Пакеты
0
Релизы
0
Аналитика
Безопасность
20210722
ci/debian.sh
38 строк
844 B
Petr Vorel
CI: tests: Skip tests on disabled IPv6
20 июл 2021, 22:21
Не верифицирован
20 июл 2021, 22:21
f10bfd8
Код
Авторство
О чём код?
#!/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 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