From 5e932bd569f1aa4857967e8b60e3750f792851db Mon Sep 17 00:00:00 2001 From: Arne Fitzennreiter Date: Mon, 27 Oct 2008 22:48:28 +0100 Subject: [PATCH] Fix pakfire reinstall removed packs if an updated version was released --- src/pakfire/lib/functions.pl | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/pakfire/lib/functions.pl b/src/pakfire/lib/functions.pl index 91e7930d11..0d8e8af376 100644 --- a/src/pakfire/lib/functions.pl +++ b/src/pakfire/lib/functions.pl @@ -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 = ; close(FILE); foreach $line (@meta) { -- 2.39.2