ebdf48623e
Add basic F22/dnf support to yum-minimal path. We extract common code, add some comments and reduce duplication. Change-Id: If4bd5f88e26bd6f2168958f1ec1efff1072de7ba
8 lines
206 B
Bash
8 lines
206 B
Bash
# 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
|