From: Christian Schmidt Date: Fri, 2 May 2008 13:33:32 +0000 (+0200) Subject: Fixed Pakfire updating coredb when using webif without beeing able to X-Git-Tag: v2.3-beta1~88 X-Git-Url: http://git.ipfire.org/?p=people%2Fpmueller%2Fipfire-2.x.git;a=commitdiff_plain;h=d1d1cb422688575df43fd6e5d37242af144a838e Fixed Pakfire updating coredb when using webif without beeing able to check gpg -> massively logging errors to syslog --- diff --git a/config/rootfiles/core/13/files b/config/rootfiles/core/13/files index ba8bce191f..411e946594 100644 --- a/config/rootfiles/core/13/files +++ b/config/rootfiles/core/13/files @@ -2,3 +2,4 @@ etc/init.d/mISDN etc/modprobe.d/blacklist usr/bin/bc usr/bin/dc +opt/pakfire/lib/functions.pl diff --git a/src/pakfire/lib/functions.pl b/src/pakfire/lib/functions.pl index c8febe76e6..650976281f 100644 --- a/src/pakfire/lib/functions.pl +++ b/src/pakfire/lib/functions.pl @@ -381,7 +381,7 @@ sub dblist { close(FILE); if ("$filter" eq "upgrade") { - getcoredb("noforce"); + if ("$forweb" ne "forweb") {getcoredb("noforce");} eval(`grep "core_" $Conf::dbdir/lists/core-list.db`); if ("$core_release" > "$Conf::core_mine") { if ("$forweb" eq "forweb") {