From 1af34aa810cc86fb182635cca0bb6ac783ab584d Mon Sep 17 00:00:00 2001 From: Arne Fitzenreiter Date: Sat, 16 May 2015 13:00:12 +0200 Subject: [PATCH] pakfire: skip corrupt "meta-" file. This was created by a bug in dep resolve at upgrade. --- src/pakfire/lib/functions.pl | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/pakfire/lib/functions.pl b/src/pakfire/lib/functions.pl index 85e01a060a..6bf85afdca 100644 --- a/src/pakfire/lib/functions.pl +++ b/src/pakfire/lib/functions.pl @@ -393,6 +393,7 @@ sub dbgetlist { foreach $file (@files) { next if ( $file eq "." ); next if ( $file eq ".." ); + next if ( $file eq "meta-" ); next if ( $file =~ /^old/ ); open(FILE, "<$Conf::dbdir/meta/$file"); @meta = ; @@ -714,7 +715,7 @@ sub getpak { } unless ($file) { - message("No filename given in meta-file. Please phone the developers."); + message("No filename given in meta-file."); exit 1; } -- 2.39.5