From 423ec18116f333bd51ff5264b0b5c9edc02945c6 Mon Sep 17 00:00:00 2001 From: Matthias Schiffer Date: Sat, 6 Jan 2018 19:44:52 +0100 Subject: metadata: remove redundant fields from package hash Signed-off-by: Matthias Schiffer --- scripts/feeds | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'scripts/feeds') diff --git a/scripts/feeds b/scripts/feeds index 4ac6685b4d..4595c824a4 100755 --- a/scripts/feeds +++ b/scripts/feeds @@ -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$//; -- cgit v1.2.3