Fixed Pakfire updating coredb when using webif without beeing able to
authorChristian Schmidt <maniacikarus@ipfire.org>
Fri, 2 May 2008 13:33:32 +0000 (15:33 +0200)
committerChristian Schmidt <maniacikarus@ipfire.org>
Fri, 2 May 2008 13:33:32 +0000 (15:33 +0200)
check gpg -> massively logging errors to syslog

config/rootfiles/core/13/files
src/pakfire/lib/functions.pl

index ba8bce1..411e946 100644 (file)
@@ -2,3 +2,4 @@ etc/init.d/mISDN
 etc/modprobe.d/blacklist
 usr/bin/bc
 usr/bin/dc
+opt/pakfire/lib/functions.pl
index c8febe7..6509762 100644 (file)
@@ -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") {