diff options
author | Rafael Garcia-Suarez <rgarciasuarez@mandriva.org> | 2005-12-14 09:25:03 +0000 |
---|---|---|
committer | Rafael Garcia-Suarez <rgarciasuarez@mandriva.org> | 2005-12-14 09:25:03 +0000 |
commit | f9df1d9c47d9f3c6bfb1297b46569c81fd4034fd (patch) | |
tree | e5733202042cd6d5e0dc5333fa083b6cdbb8af2b | |
parent | 08367c5391794c34d53a903fc3de9fe36917bf3f (diff) | |
download | rpmdrake-f9df1d9c47d9f3c6bfb1297b46569c81fd4034fd.tar rpmdrake-f9df1d9c47d9f3c6bfb1297b46569c81fd4034fd.tar.gz rpmdrake-f9df1d9c47d9f3c6bfb1297b46569c81fd4034fd.tar.bz2 rpmdrake-f9df1d9c47d9f3c6bfb1297b46569c81fd4034fd.tar.xz rpmdrake-f9df1d9c47d9f3c6bfb1297b46569c81fd4034fd.zip |
Quote fullname in regular expressions (for names like libstdc++)
-rwxr-xr-x | rpmdrake | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -1648,7 +1648,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 = (any { /$fullname/ } values %sources_install) ? 'install' : '(update|upgrade)'; + my $trtype = (any { /\Q$fullname/ } values %sources_install) ? 'install' : '(update|upgrade)'; for ($pkg->files) { /\bREADME(\.$trtype)?\.urpmi$/ and $Readmes{$_} = $fullname } close $fh; }, |