From 5942fb52d138b09be0ada1784dabaa6838d7afae Mon Sep 17 00:00:00 2001 From: Thierry Vignaud Date: Fri, 10 Aug 2007 22:05:45 +0000 Subject: (get_updates_description) descriptions files really come with "Update:" field today; let's be more open --- urpm.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'urpm.pm') diff --git a/urpm.pm b/urpm.pm index 00e8ce29..443186b5 100644 --- a/urpm.pm +++ b/urpm.pm @@ -246,7 +246,7 @@ sub get_updates_description { $section = 'pkg'; next; }; - /^Updated: (.+)/ && $section eq 'pkg' and $cur->{updated} = $1; + /^Updated?: (.+)/ && $section eq 'pkg' and $cur->{updated} = $1; /^Importance: (.+)/ && $section eq 'pkg' and $cur->{importance} = $1; /^(ID|URL): +(.+)/ && $section eq 'pkg' and do { $cur->{$1} = $2; next }; /^%(pre|description)/ and do { $section = $1; next }; -- cgit v1.2.1