Skip to content

Commit 0ba4176

Browse files
committed
Make sure we only require CPANPLUS::Dist::Build as a prereq if it is already installed and < 0.60
1 parent af44491 commit 0ba4176

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

lib/CPANPLUS/Selfupdate.pm

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -72,6 +72,7 @@ CPANPLUS::Selfupdate - self-updating for CPANPLUS
7272
'Parse::CPAN::Meta' => '1.4200', # config_requires support
7373
'ExtUtils::Install' => '1.42', # uninstall outside @INC
7474
( check_install( module => 'CPANPLUS::Dist::Build' )
75+
&& !check_install( module => 'CPANPLUS::Dist::Build', version => '0.60' )
7576
? ( 'CPANPLUS::Dist::Build' => '0.60' ) : () ),
7677
},
7778

0 commit comments

Comments
 (0)