Skip to content

Commit 78d4c5a

Browse files
committed
Add apk support in the matchsingledep function
1 parent 84c788c commit 78d4c5a

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

Build.pm

+2
Original file line numberDiff line numberDiff line change
@@ -1075,6 +1075,8 @@ sub matchsingledep {
10751075
my $vv;
10761076
if ($binarytype eq 'deb') {
10771077
$vv = Build::Deb::verscmp($pv, $dv, 1);
1078+
} elsif ($binarytype eq 'apk') {
1079+
$vv = Build::Apk::verscmp($pv, $dv, 1);
10781080
} else {
10791081
$vv = Build::Rpm::verscmp($pv, $dv, 1);
10801082
}

0 commit comments

Comments
 (0)