From 4638fd9259af6f177bbbb17254951cf8e366aa7a Mon Sep 17 00:00:00 2001 From: Jan Paul Tuecking Date: Sun, 11 Oct 2009 18:07:46 +0200 Subject: [PATCH] Fixed function.sh - no notification if there are no updates. --- src/pakfire/lib/functions.pl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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") { -- 2.39.2