diskimage-builder/diskimage_builder/elements/fedora/environment.d/11-yum-dnf.bash
Vu Cong Tuan 6a72052108 Trivial fix typos
Change-Id: Ib86aa9938fd852610ec0a6d8d868181f87bd2f24
2017-05-31 11:17:05 +07:00

9 lines
206 B
Bash

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