- or download this
return ( ($rh=$pkg->{'RPM_HDR'}) and $dist=$rh->tag('DISTRIBUTION') )
? $pkg->{'DIST'}=$dist
: $pkg->{'DIST'}=$undef;
- or download this
( ($rh= $pkg->{'RPM_HDR'}) and $dist=$rh->tag('DISTRIBUTION')) and
return $pkg->{'DIST'}=$dist;
return $pkg->{'DIST'}=$undef;
- or download this
if ($rh=$pkg->{'RPM_HDR'}) {
if ($dist=$rh->tag('DISTRIBUTION')) {
...
}
}
return $undef;