Ignore:
Timestamp:
Oct 12, 2015, 12:17:48 PM (9 years ago)
Author:
Bruno Cornec
Message:

Adds dnf support

Starting with Fedora 22 the package manager is dnf and not yum anymore
pb needed some adaptations to support it, which have been mostly been
coded in this patch. Tests to be done.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • devel/pb-modules/lib/ProjectBuilder/Distribution.pm

    r1972 r2012  
    589589            if ($pbos->{install} =~ /\byum\b/) {
    590590                $reponame="yum";
     591                $dirdest = "/etc/yum.repos.d";
     592            } elsif ($pbos->{install} =~ /\bdnf\b/) {
     593                $reponame="dnf";
    591594                $dirdest = "/etc/yum.repos.d";
    592595            } elsif ($pbos->{install} =~ /\bzypper\b/) {
Note: See TracChangeset for help on using the changeset viewer.