From: Jan Paul Tuecking Date: Sun, 11 Oct 2009 16:07:46 +0000 (+0200) Subject: Fixed function.sh - no notification if there are no updates. X-Git-Tag: v2.9-beta1~699^2 X-Git-Url: http://git.ipfire.org/?p=ipfire-2.x.git;a=commitdiff_plain;h=4638fd9259af6f177bbbb17254951cf8e366aa7a Fixed function.sh - no notification if there are no updates. --- diff --git a/src/pakfire/lib/functions.pl b/src/pakfire/lib/functions.pl index 10630a1dac..8c6a295554 100644 --- a/src/pakfire/lib/functions.pl +++ b/src/pakfire/lib/functions.pl @@ -394,7 +394,7 @@ sub dblist { close(FILE); if ("$filter" eq "upgrade") { - if ("$forweb" ne "forweb") {getcoredb("noforce");} + if ("$forweb" ne "forweb" && "$forweb" ne "notice" ) {getcoredb("noforce");} eval(`grep "core_" $Conf::dbdir/lists/core-list.db`); if ("$core_release" > "$Conf::core_mine") { if ("$forweb" eq "forweb") {