diff options
author | Thierry Vignaud <tv@mandriva.org> | 2007-08-10 21:46:58 +0000 |
---|---|---|
committer | Thierry Vignaud <tv@mandriva.org> | 2007-08-10 21:46:58 +0000 |
commit | dc8ebc43bef9fdae9e0674a767aabc31600285be (patch) | |
tree | fed1e7167795c65f07b302e92d2cd37bdaaa17c4 /urpm.pm | |
parent | e19e9113fba7a5ace59694c404b636e211b08977 (diff) | |
download | urpmi-dc8ebc43bef9fdae9e0674a767aabc31600285be.tar urpmi-dc8ebc43bef9fdae9e0674a767aabc31600285be.tar.gz urpmi-dc8ebc43bef9fdae9e0674a767aabc31600285be.tar.bz2 urpmi-dc8ebc43bef9fdae9e0674a767aabc31600285be.tar.xz urpmi-dc8ebc43bef9fdae9e0674a767aabc31600285be.zip |
(get_updates_description) parse the MDKSA ids and the URL when reading the "descriptions" file
Diffstat (limited to 'urpm.pm')
-rw-r--r-- | urpm.pm | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -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} .= $_; } |