summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorThierry Vignaud <tv@mandriva.org>2007-08-10 22:05:45 +0000
committerThierry Vignaud <tv@mandriva.org>2007-08-10 22:05:45 +0000
commit5942fb52d138b09be0ada1784dabaa6838d7afae (patch)
treee9c07c0c03d1616de6cd0840d929c0fe8749380d
parentdc8ebc43bef9fdae9e0674a767aabc31600285be (diff)
downloadurpmi-5942fb52d138b09be0ada1784dabaa6838d7afae.tar
urpmi-5942fb52d138b09be0ada1784dabaa6838d7afae.tar.gz
urpmi-5942fb52d138b09be0ada1784dabaa6838d7afae.tar.bz2
urpmi-5942fb52d138b09be0ada1784dabaa6838d7afae.tar.xz
urpmi-5942fb52d138b09be0ada1784dabaa6838d7afae.zip
(get_updates_description) descriptions files really come with
"Update:" field today; let's be more open
-rw-r--r--urpm.pm2
1 files changed, 1 insertions, 1 deletions
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 };