File: 11-yum-dnf.bash

package info (click to toggle)
python-diskimage-builder 3.39.0-2
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 5,704 kB
  • sloc: sh: 7,474; python: 6,454; 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