X-Git-Url: https://git.donarmstrong.com/?a=blobdiff_plain;f=src%2FModules%2FFreshmeat.pl;h=269eb3e019d29e1a05240aaaf12b6a1ea12c1acf;hb=34a4d11667b0a734343f82d2adbaac23f738ad18;hp=a6a07c511d67a154db56cef51a8716c72d125982;hpb=92c3870d1fd6aa5f063a57cfb690aea12ec77df7;p=infobot.git diff --git a/src/Modules/Freshmeat.pl b/src/Modules/Freshmeat.pl index a6a07c5..269eb3e 100644 --- a/src/Modules/Freshmeat.pl +++ b/src/Modules/Freshmeat.pl @@ -85,7 +85,7 @@ sub Freshmeat { sub showPackage { my ($pkg) = @_; my @fm = &::dbGet("freshmeat", "*", - "projectname_short=".&dbQuote($pkg) ); + "projectname_short=".&::dbQuote($pkg) ); if (scalar @fm) { #1: perfect match of name. my $retval; @@ -185,8 +185,9 @@ sub downloadIndex { ### lets get on with business. # set the last refresh time. fixes multiple spawn bug. &::dbSet("freshmeat", - { "projectname_short" => "_" }, - { "latest_version" => time() } + { "projectname_short" => "_" }, + { "latest_version" => time() + "desc_short" => "" } ); # &::dbRaw("LOCK", "LOCK TABLES freshmeat WRITE");