summaryrefslogtreecommitdiffstats
path: root/mdkupdate
diff options
context:
space:
mode:
Diffstat (limited to 'mdkupdate')
-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 {