/
githubmirror
/
bash-completion
Обзор
Документация
Войти
/
githubmirror
/
bash-completion
Код
Запросы
0
Пакеты
0
Релизы
0
Аналитика
Безопасность
main
test/docker/fedoradev/install-packages.sh
25 строк
787 B
Ville Skyttä
test(docker): remove no longer needed fedoradev vpnc workaround
01 мар 2026, 14:32
01 мар 2026, 14:32
0af16df
Код
Авторство
О чём код?
#!/bin/bash set -xeuo pipefail shopt -s extglob cd "${TMPDIR:-/tmp}" # upgrade: base image contains vim-minimal, newer vim-* which # implicitly conflicts with it (typically vim.1.gz) may be in # repository and pulled in further down, causing install to fail as # -minimal won't be updated otherwise. dnf --refresh -y upgrade dnf -y install /usr/bin/xargs while read -r file; do case $file in /*) printf "%s\n" "$file" ;; *) printf "%s\n" {/usr,}/{,s}bin/"$file" ;; esac done | xargs dnf -y install --skip-unavailable --skip-broken # --skip-broken: avoid failing on not found packages. Also prevents actually # broken packages from failing the install which is not what we want, but # there doesn't seem to be way to cleanly just skip the not found ones.