diff options
author | Rafael Garcia-Suarez <rgarciasuarez@mandriva.org> | 2004-07-28 06:43:51 +0000 |
---|---|---|
committer | Rafael Garcia-Suarez <rgarciasuarez@mandriva.org> | 2004-07-28 06:43:51 +0000 |
commit | 6d477d1c4e9d7c9fb52ea24095013bbf8dda7522 (patch) | |
tree | 929053753ebd79af85b7005b6157d9a2f01af291 | |
parent | 02c4d3e64db2c0c98c1eebf5da5fb6510ecc77fc (diff) | |
download | rpmdrake-6d477d1c4e9d7c9fb52ea24095013bbf8dda7522.tar rpmdrake-6d477d1c4e9d7c9fb52ea24095013bbf8dda7522.tar.gz rpmdrake-6d477d1c4e9d7c9fb52ea24095013bbf8dda7522.tar.bz2 rpmdrake-6d477d1c4e9d7c9fb52ea24095013bbf8dda7522.tar.xz rpmdrake-6d477d1c4e9d7c9fb52ea24095013bbf8dda7522.zip |
There must be room for refactoring, here.
-rwxr-xr-x | rpmdrake | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -1363,7 +1363,7 @@ sub perform_installation { #- (partially) duplicated from /usr/sbin/urpmi :-( return if $MODE ne 'install' && $MODE ne 'update'; my $pkg = $urpm->{depslist}[$pkgid]; my $fullname = $pkg->fullname; - my $trtype = (grep { /$fullname/ } values %sources_install) ? 'install' : 'upgrade'; + my $trtype = (grep { /$fullname/ } values %sources_install) ? 'install' : '(update|upgrade)'; push our @Readmes, map { [ $_, $fullname ] } grep { /\bREADME(\.$trtype)?\.urpmi$/ } $pkg->files; |