mirror of
https://github.com/vincentmli/bpfire.git
synced 2026-04-14 04:52:59 +02:00
Fix pakfire reinstall removed packs if an updated version was released
This commit is contained in:
@@ -404,14 +404,14 @@ sub dblist {
|
||||
}
|
||||
}
|
||||
|
||||
opendir(DIR,"$Conf::dbdir/meta");
|
||||
opendir(DIR,"$Conf::dbdir/installed");
|
||||
my @files = readdir(DIR);
|
||||
closedir(DIR);
|
||||
foreach $file (@files) {
|
||||
next if ( $file eq "." );
|
||||
next if ( $file eq ".." );
|
||||
next if ( $file =~ /^old/ );
|
||||
open(FILE, "<$Conf::dbdir/meta/$file");
|
||||
open(FILE, "<$Conf::dbdir/installed/$file");
|
||||
@meta = <FILE>;
|
||||
close(FILE);
|
||||
foreach $line (@meta) {
|
||||
|
||||
Reference in New Issue
Block a user