diff options
author | Thierry Vignaud <tv@mandriva.org> | 2007-08-10 21:41:59 +0000 |
---|---|---|
committer | Thierry Vignaud <tv@mandriva.org> | 2007-08-10 21:41:59 +0000 |
commit | e7e70f6b19a926ff52fc89df07bc7667da8694f7 (patch) | |
tree | c5985e1b5da3bd46a1a130d28e907091297a9442 /urpm.pm | |
parent | 706278f0f76ceb85627bac913e95ac5879e11c4d (diff) | |
download | urpmi-e7e70f6b19a926ff52fc89df07bc7667da8694f7.tar urpmi-e7e70f6b19a926ff52fc89df07bc7667da8694f7.tar.gz urpmi-e7e70f6b19a926ff52fc89df07bc7667da8694f7.tar.bz2 urpmi-e7e70f6b19a926ff52fc89df07bc7667da8694f7.tar.xz urpmi-e7e70f6b19a926ff52fc89df07bc7667da8694f7.zip |
(get_updates_description) merge 'pre' & 'description' management
Diffstat (limited to 'urpm.pm')
-rw-r--r-- | urpm.pm | 3 |
1 files changed, 1 insertions, 2 deletions
@@ -248,8 +248,7 @@ sub get_updates_description { }; /^Updated: (.+)/ && $section eq 'pkg' and $cur->{updated} = $1; /^Importance: (.+)/ && $section eq 'pkg' and $cur->{importance} = $1; - /^%pre/ and do { $section = 'pre'; next }; - /^%description/ and do { $section = 'description'; next }; + /^%(pre|description)/ and do { $section = $1; next }; $section eq 'pre' and $cur->{pre} .= $_; $section eq 'description' and $cur->{description} .= $_; } |