diff options
author | Thierry Vignaud <tvignaud@mandriva.org> | 2006-03-03 22:16:51 +0000 |
---|---|---|
committer | Thierry Vignaud <tvignaud@mandriva.org> | 2006-03-03 22:16:51 +0000 |
commit | 2b11317aea2c863329e2c540a1a808284979438c (patch) | |
tree | 6f2f90137f0d3d872da0810aa5d5e557bd501f1b /mdkupdate | |
parent | 670e218c2a99848386f2df6b81ee649212f0bdd4 (diff) | |
download | mgaonline-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
Diffstat (limited to 'mdkupdate')
-rwxr-xr-x | mdkupdate | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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 { |