Adapted 'apt-get changelog' for ALT

This commit is contained in:
Сергей Конев 2024-11-06 12:03:07 +03:00
parent 549a4f8b53
commit 2ab397b671

View File

@ -406,11 +406,8 @@ __PACKAGE__->register_method({
my $pkgname = $param->{name};
my $cmd = ['apt-get', 'changelog', '-qq'];
if (my $version = $param->{version}) {
push @$cmd, "$pkgname=$version";
} else {
push @$cmd, "$pkgname";
}
push @$cmd, "$pkgname";
my $output = "";