File: 11-yum-dnf.bash

package info (click to toggle)
python-diskimage-builder 3.37.0-2
  • links: PTS, VCS
  • area: main
  • in suites: trixie
  • size: 5,572 kB
  • sloc: sh: 7,380; python: 6,444; makefile: 37
file content (8 lines) | stat: -rw-r--r-- 206 bytes parent folder | download | duplicates (10)
1
2
3
4
5
6
7
8
# 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