diskimage-builder/diskimage_builder/elements/rhel/environment.d/11-yum-dnf.bash

8 lines
125 B
Bash
Raw Permalink Normal View History

# since RHEL8, dnf is the yum replacement.
if [[ $DIB_RELEASE == "7" ]]; then
export YUM=yum
else
export YUM=dnf
fi