From d1d1cb422688575df43fd6e5d37242af144a838e Mon Sep 17 00:00:00 2001 From: Christian Schmidt Date: Fri, 2 May 2008 15:33:32 +0200 Subject: [PATCH] Fixed Pakfire updating coredb when using webif without beeing able to check gpg -> massively logging errors to syslog --- config/rootfiles/core/13/files | 1 + src/pakfire/lib/functions.pl | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) 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") { -- 2.39.2