From: Arne Fitzenreiter Date: Sat, 16 May 2015 11:00:12 +0000 (+0200) Subject: pakfire: skip corrupt "meta-" file. X-Git-Tag: v2.17-core91~30^2^2~14 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=1af34aa810cc86fb182635cca0bb6ac783ab584d;p=people%2Fstevee%2Fipfire-2.x.git pakfire: skip corrupt "meta-" file. This was created by a bug in dep resolve at upgrade. --- 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; }