Debian Codegraph @

tests/image_prep/roles/package_manager_module/templates/install_deps.sh.j2

raw
1 set -o errexit
2 set -o nounset
3
4 {% if (package_manager_module_packages | length) > 0 %}
5 if command -v apt-get; then
6 apt-get -y update
7 apt-get -y --no-install-recommends install {{ package_manager_module_packages | join(' ') }}
8 elif command -v dnf; then
9 dnf -y install {{ package_manager_module_packages | join(' ') }}
10 elif command -v yum; then
11 yum -y install {{ package_manager_module_packages | join(' ') }}
12 else
13 exit 43
14 fi
15 {% endif %}