mirror of
https://github.com/vincentmli/bpfire.git
synced 2026-04-28 11:43:25 +02:00
pakfire: skip corrupt "meta-" file.
This was created by a bug in dep resolve at upgrade.
This commit is contained in:
@@ -393,6 +393,7 @@ sub dbgetlist {
|
|||||||
foreach $file (@files) {
|
foreach $file (@files) {
|
||||||
next if ( $file eq "." );
|
next if ( $file eq "." );
|
||||||
next if ( $file eq ".." );
|
next if ( $file eq ".." );
|
||||||
|
next if ( $file eq "meta-" );
|
||||||
next if ( $file =~ /^old/ );
|
next if ( $file =~ /^old/ );
|
||||||
open(FILE, "<$Conf::dbdir/meta/$file");
|
open(FILE, "<$Conf::dbdir/meta/$file");
|
||||||
@meta = <FILE>;
|
@meta = <FILE>;
|
||||||
@@ -714,7 +715,7 @@ sub getpak {
|
|||||||
}
|
}
|
||||||
|
|
||||||
unless ($file) {
|
unless ($file) {
|
||||||
message("No filename given in meta-file. Please phone the developers.");
|
message("No filename given in meta-file.");
|
||||||
exit 1;
|
exit 1;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user