diff options
author | Pascal Rigaux <pixel@mandriva.com> | 2000-01-20 13:19:09 +0000 |
---|---|---|
committer | Pascal Rigaux <pixel@mandriva.com> | 2000-01-20 13:19:09 +0000 |
commit | a4929e38b02b1b83db60c1659d2c20a75c2a17f7 (patch) | |
tree | c750f943af1723c974cfff63378e9a43c8dff46a | |
parent | 6ff32a3d439260635dfd7ccc3b863d067c70971a (diff) | |
download | urpmi-a4929e38b02b1b83db60c1659d2c20a75c2a17f7.tar urpmi-a4929e38b02b1b83db60c1659d2c20a75c2a17f7.tar.gz urpmi-a4929e38b02b1b83db60c1659d2c20a75c2a17f7.tar.bz2 urpmi-a4929e38b02b1b83db60c1659d2c20a75c2a17f7.tar.xz urpmi-a4929e38b02b1b83db60c1659d2c20a75c2a17f7.zip |
no_comment
-rw-r--r-- | ChangeLog | 4 | ||||
-rwxr-xr-x | urpmi | 6 |
2 files changed, 7 insertions, 3 deletions
@@ -1,3 +1,7 @@ +2000-01-20 Pixel <pixel@mandrakesoft.com> + + * urpmi: fix regexp not allowing `.' in release + 2000-01-10 Pixel <pixel@mandrakesoft.com> * urpmi: bug fix from Brian J. Murrell @@ -68,7 +68,7 @@ $ok or exit 1; @installed = `/bin/rpm -qa`; $? and die(_("rpm database query failed\n")); foreach (@installed) { - my ($name, $v, $r) = /(.*)-([^-]+)-([^-.]+)\n/; + my ($name, $v, $r) = /(.*)-([^-]+)-([^-]+)\n/; exists $installed{$name} && le_version([$v, $r], $installed{$name}) or $installed{$name} = [$v, $r]; } @installed{map { chop; $_ } @installed} = (); @@ -156,7 +156,7 @@ sub closure_deps { my $to_install = shift; foreach (@_) { exists $to_install->{$_} and next; - my ($name, $v, $r) = /(.*)-([^-]+)-([^-.]+)/; + my ($name, $v, $r) = /(.*)-([^-]+)-([^-]+)/; exists $installed{$name} && le_version([$v, $r], $installed{$name}) and next; $to_install->{$_} = undef; @@ -165,7 +165,7 @@ sub closure_deps { my %l; foreach (split '\|') { exists $to_install->{$_} and next up; - my ($name, $v, $r) = /(.*)-([^-]+)-([^-.]+)/; + my ($name, $v, $r) = /(.*)-([^-]+)-([^-]+)/; if (exists $installed{$name}) { le_version([$v, $r], $installed{$name}) and next up; %l = ($name => [$v, $r]); |