diff options
author | Rafael Garcia-Suarez <rgarciasuarez@mandriva.org> | 2004-07-28 06:35:04 +0000 |
---|---|---|
committer | Rafael Garcia-Suarez <rgarciasuarez@mandriva.org> | 2004-07-28 06:35:04 +0000 |
commit | d24493deaf923989401d0d4df1f9ccf35403f1ff (patch) | |
tree | cd2227b88030d9df172fae985ef0a73f439c1b76 | |
parent | d44d330765dc48f489f892a1a5d190b38b66884a (diff) | |
download | urpmi-d24493deaf923989401d0d4df1f9ccf35403f1ff.tar urpmi-d24493deaf923989401d0d4df1f9ccf35403f1ff.tar.gz urpmi-d24493deaf923989401d0d4df1f9ccf35403f1ff.tar.bz2 urpmi-d24493deaf923989401d0d4df1f9ccf35403f1ff.tar.xz urpmi-d24493deaf923989401d0d4df1f9ccf35403f1ff.zip |
Allow "README.update.urpmi" as an equivalent of "README.upgrade.urpmi"
-rw-r--r-- | urpm.pm | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -2848,7 +2848,7 @@ sub install { return unless defined $pkgid; my $pkg = $urpm->{depslist}[$pkgid]; my $fullname = $pkg->fullname(); - my $trtype = (grep { /$fullname/ } values %$install) ? 'install' : 'upgrade'; + my $trtype = (grep { /$fullname/ } values %$install) ? 'install' : '(upgrade|update)'; push @readmes, map { [ $_, $fullname ] } grep { /\bREADME(\.$trtype)?\.urpmi$/ } $pkg->files(); |