From dc8ebc43bef9fdae9e0674a767aabc31600285be Mon Sep 17 00:00:00 2001 From: Thierry Vignaud Date: Fri, 10 Aug 2007 21:46:58 +0000 Subject: (get_updates_description) parse the MDKSA ids and the URL when reading the "descriptions" file --- urpm.pm | 1 + 1 file changed, 1 insertion(+) (limited to 'urpm.pm') diff --git a/urpm.pm b/urpm.pm index 1f694bd4..00e8ce29 100644 --- a/urpm.pm +++ b/urpm.pm @@ -248,6 +248,7 @@ sub get_updates_description { }; /^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 }; $section =~ /^(pre|description)\z/ and $cur->{$1} .= $_; } -- cgit v1.2.1