aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGuillaume Cottenceau <gc@mandriva.com>2002-08-22 18:18:19 +0000
committerGuillaume Cottenceau <gc@mandriva.com>2002-08-22 18:18:19 +0000
commit30c5b063ab9c2a0a60f676fa7e82511f8a369212 (patch)
tree26ed4252011f56f5034fce7e9f0d8ce9a07c55a0
parent32b48f92bb70dbcd7f8cb557d8b1f5da3bec9f23 (diff)
downloadrpmdrake-30c5b063ab9c2a0a60f676fa7e82511f8a369212.tar
rpmdrake-30c5b063ab9c2a0a60f676fa7e82511f8a369212.tar.gz
rpmdrake-30c5b063ab9c2a0a60f676fa7e82511f8a369212.tar.bz2
rpmdrake-30c5b063ab9c2a0a60f676fa7e82511f8a369212.tar.xz
rpmdrake-30c5b063ab9c2a0a60f676fa7e82511f8a369212.zip
fix not taking into account the last %package token of each
descrptions file
-rwxr-xr-xrpmdrake2
1 files changed, 1 insertions, 1 deletions
diff --git a/rpmdrake b/rpmdrake
index 902489d8..0cb76c6c 100755
--- a/rpmdrake
+++ b/rpmdrake
@@ -641,7 +641,7 @@ Do you want to try another mirror?", $r), { yesno => 1 }) and goto mu_retry_anot
}
my ($cur, $section);
- foreach (map { cat_("$statedir/descriptions.$_->{name}") } @update_medias) {
+ foreach (map { cat_("$statedir/descriptions.$_->{name}"), '%package dummy' } @update_medias) {
/^%package (.+)/ and do {
$update_descr{$_} = $cur foreach @{$cur->{pkgs}};
$cur = {};