Skip to content

Commit

Permalink
disallowing ppm install of bioperl--it won't get 1.6
Browse files Browse the repository at this point in the history
  • Loading branch information
Scott Cain committed Jul 14, 2009
1 parent c4a81a6 commit b82b0a1
Showing 1 changed file with 7 additions and 5 deletions.
12 changes: 7 additions & 5 deletions bin/gbrowse_netinstall.pl
Expand Up @@ -225,10 +225,12 @@ BEGIN
my $version = BIOPERL_REQUIRES;
if (!(eval "use Bio::Perl $version; 1") or $get_bioperl_svn or $bioperl_path) {
print STDERR "\n*** Installing BioPerl ***\n";
if ($windows and !$get_bioperl_svn and !$bioperl_path) {
my $bioperl_index = find_bioperl_ppm();
system("ppm install --force $bioperl_index");
} else {

#would like to use ppm, but ppm won't install 1.6
#if ($windows and !$get_bioperl_svn and !$bioperl_path) {
# my $bioperl_index = find_bioperl_ppm();
# system("ppm install --force $bioperl_index");
#} else {
# recent versions of Module::Build fail to install without force!
CPAN::Shell->force('Module::Build') unless eval "require Module::Build; 1";
do_install(BIOPERL,
Expand All @@ -238,7 +240,7 @@ BEGIN
$get_bioperl_svn ? 'svn' : '',
'',
$bioperl_path);
}
#}
}
else {
print STDERR "BioPerl is up to date.\n";
Expand Down

0 comments on commit b82b0a1

Please sign in to comment.