Changeset 172


Ignore:
Timestamp:
09/21/12 12:24:09 (12 years ago)
Author:
kdeugau
Message:

/trunk

Handle multiple recommends/suggests/enhances/replaces/requires/conflicts/provides
lines in subpackages correctly by appending instead of overwriting any previous entries.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/debbuild

    r171 r172  
    742742          $dname = 'arch';
    743743        }
    744         $pkgdata{$subname}{$dname} = expandmacros($dvalue, 'gp');
     744        if ($dname =~ /recommends|suggests|enhances|replaces|requires|conflicts|provides/) {
     745          $pkgdata{$subname}{$dname} .= ", ".expandmacros($dvalue, 'gp');
     746        } else {
     747          $pkgdata{$subname}{$dname} = expandmacros($dvalue, 'gp');
     748        }
    745749      }
    746750    } # package
Note: See TracChangeset for help on using the changeset viewer.