From: Maniacikarus Date: Sat, 13 Sep 2008 20:01:20 +0000 (+0200) Subject: Fixed pakfire installing upgrades twice X-Git-Url: http://git.ipfire.org/?p=people%2Fteissler%2Fipfire-2.x.git;a=commitdiff_plain;h=3f01107b12a079fb0345db645da0c7ab6db9ffdc Fixed pakfire installing upgrades twice --- diff --git a/src/pakfire/lib/functions.pl b/src/pakfire/lib/functions.pl index 491c4b076..91e7930d1 100644 --- a/src/pakfire/lib/functions.pl +++ b/src/pakfire/lib/functions.pl @@ -410,6 +410,7 @@ sub dblist { foreach $file (@files) { next if ( $file eq "." ); next if ( $file eq ".." ); + next if ( $file =~ /^old/ ); open(FILE, "<$Conf::dbdir/meta/$file"); @meta = ; close(FILE);