metadata: remove redundant fields from package hash
Signed-off-by: Matthias Schiffer <mschiffer@universe-factory.net>
This commit is contained in:
@@ -373,10 +373,14 @@ sub list {
|
||||
return 0;
|
||||
}
|
||||
|
||||
# TODO: do_install_package etc. should deal with source packages rather
|
||||
# than binary packages
|
||||
sub do_install_package($$) {
|
||||
my $feed = shift;
|
||||
my $pkg = shift;
|
||||
my $path = $pkg->{makefile};
|
||||
|
||||
my $path;
|
||||
$pkg->{src} and $path = $pkg->{src}{makefile};
|
||||
|
||||
if($path) {
|
||||
$path =~ s/\/Makefile$//;
|
||||
|
||||
Reference in New Issue
Block a user