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

9 lines
206 B
Bash
Raw Normal View History

# since f22, dnf is the yum replacement. Mostly it drops in
# unmodified, so while we transision KISS and use this to choose
if [ $DIB_RELEASE -ge 22 ]; then
export YUM=dnf
else
export YUM=yum
fi