From 50ddde7420ff5bc3bbbc38572e7cc0b6ab6e1fe3 Mon Sep 17 00:00:00 2001 From: Rafael Garcia-Suarez Date: Mon, 17 Jan 2005 18:52:56 +0000 Subject: Parse the MDKSA ids when reading the "descriptions" file --- rpmdrake | 2 ++ 1 file changed, 2 insertions(+) diff --git a/rpmdrake b/rpmdrake index 6f0d3eec..990cccea 100755 --- a/rpmdrake +++ b/rpmdrake @@ -1242,6 +1242,8 @@ Then, restart %s.", $rpmdrake::myname_update)), myexit(-1); and do { $cur->{update} = $1; next }; /^Importance: +(.+)/ && $section eq 'pkg' and do { $cur->{importance} = $1; next }; + /^(ID|URL): +(.+)/ && $section eq 'pkg' + and do { $cur->{$1} = $2; next }; $section =~ /^(pre|description)\z/ and $cur->{$1} .= $_; } } -- cgit v1.2.1