Adapted 'apt-get changelog' for ALT
This commit is contained in:
parent
549a4f8b53
commit
2ab397b671
@ -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 = "";
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user