summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorThierry Vignaud <tvignaud@mandriva.org>2006-03-03 22:16:51 +0000
committerThierry Vignaud <tvignaud@mandriva.org>2006-03-03 22:16:51 +0000
commit2b11317aea2c863329e2c540a1a808284979438c (patch)
tree6f2f90137f0d3d872da0810aa5d5e557bd501f1b
parent670e218c2a99848386f2df6b81ee649212f0bdd4 (diff)
downloadmgaonline-2b11317aea2c863329e2c540a1a808284979438c.tar
mgaonline-2b11317aea2c863329e2c540a1a808284979438c.tar.gz
mgaonline-2b11317aea2c863329e2c540a1a808284979438c.tar.bz2
mgaonline-2b11317aea2c863329e2c540a1a808284979438c.tar.xz
mgaonline-2b11317aea2c863329e2c540a1a808284979438c.zip
help gurpmi: give it a non versionated package name
-rwxr-xr-xmdkupdate2
1 files changed, 1 insertions, 1 deletions
diff --git a/mdkupdate b/mdkupdate
index 01576b99..cb337687 100755
--- a/mdkupdate
+++ b/mdkupdate
@@ -153,7 +153,7 @@ You need to update to a newer version. You can get a new one from http://start.m
my ($mirrors, $bundle) = ($bundle_info->{data}{mirrors}, $bundle_info->{data}{bundle});
my %mirrors = map { split(';', $_, 2) } @$mirrors;
add_media($_, $mirrors{$_}, 'media_info/hdlist.cz', '') foreach keys %mirrors;
- $bundle =~ s/\.rpm$//;
+ $bundle =~ s/-[^-]*-[^-]*\.[^.]*\.rpm$//;
push @bundles, $bundle;
install_pkgs($in, \@bundles, (find { /^bundle/ } keys %mirrors), { is_bundle => 1, auto_select => ($wc->{POST} =~ /AUTO_SELECT/) });
} else {