Changeset 2335


Ignore:
Timestamp:
Oct 25, 2017, 12:42:03 AM (4 months ago)
Author:
bruno
Message:

Fix apk installed package detection

File:
1 edited

Legend:

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

    r2334 r2335  
    527527    } elsif ($pbos->{'type'} eq "ebuild") {
    528528    } elsif ($pbos->{'type'} eq "apk") {
    529         my $res = pb_system("apk info $p","Looking for $p","mayfail");
     529        pb_log(0,"Looking for $p");
     530        my $res = system("apk info | grep -E '^$p\$'");
    530531        next if ($res eq 0);
    531532        pb_log(1, "INFO: missing dependency $p\n");
Note: See TracChangeset for help on using the changeset viewer.