diff options
author | J Pipkin <j@dawnrazor.net> | 2013-03-30 12:27:35 -0500 |
---|---|---|
committer | J Pipkin <j@dawnrazor.net> | 2013-03-30 12:27:35 -0500 |
commit | 1862adcb7db0e27fc2da2f3409f31a8f1fd44c3d (patch) | |
tree | 7301a5aa60e426b22b74aebe053dafa590da7bcc /sboinstall | |
parent | e703434bcbe3c11ecae9c710241516d1c7fdebec (diff) | |
parent | be8ce6dd3efa75e020b5caae6544bc25b2a8d40f (diff) | |
download | sbotools2-1862adcb7db0e27fc2da2f3409f31a8f1fd44c3d.tar.xz |
Merge branch 'non_cpan', fixes #54
Diffstat (limited to 'sboinstall')
-rwxr-xr-x | sboinstall | 12 |
1 files changed, 7 insertions, 5 deletions
@@ -117,11 +117,13 @@ FIRST: for my $sbo (@$build_queue) { say "$name already installed."; next FIRST; } else { - my $pm_name = $sbo; - $pm_name =~ s/^perl-//; - if (/$pm_name/i ~~ @$pms) { - say "$sbo installed via the cpan."; - next FIRST; + if ($sbo =~ /^perl-/) { + my $pm_name = $sbo; + $pm_name =~ s/^perl-//; + if (/^$pm_name$/i ~~ @$pms) { + say "$sbo installed via the cpan."; + next FIRST; + } } } $locations{$name} = get_sbo_location($sbo) if $compat32; |