diff options
Diffstat (limited to 'urpm.pm')
-rw-r--r-- | urpm.pm | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -246,8 +246,8 @@ sub get_updates_description { $section = 'pkg'; next; }; - /^Updated?: +(.+)/ && $section eq 'pkg' and $cur->{updated} = $1; - /^Importance: +(.+)/ && $section eq 'pkg' and $cur->{importance} = $1; + /^Updated?: +(.+)/ && $section eq 'pkg' and do { $cur->{updated} = $1; next }; + /^Importance: +(.+)/ && $section eq 'pkg' and do { $cur->{importance} = $1; next }; /^(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} .= $_; |