Skip to content
This repository has been archived by the owner on Oct 15, 2022. It is now read-only.

Commit

Permalink
More details... more stuff.... i dont know what to write here, noone …
Browse files Browse the repository at this point in the history
…will read it anyway
  • Loading branch information
Getty committed Mar 15, 2012
1 parent 129bc8f commit c4698b9
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions install.pl
Expand Up @@ -47,14 +47,13 @@
my $_cpanm;
my $_cpanm_filename;

my $locallib = $ENV{PERL_LOCAL_LIB_ROOT};
my $set_locallib;

if ($locallib) {
if ($ENV{PERL_LOCAL_LIB_ROOT} || $ENV{PERL_MM_OPT} || $ENV{PERL_MB_OPT}) {

print_text("Found running local::lib on ".$locallib);
print_text("Found running local::lib...");

} else {
} elsif (!defined $ENV{PERLBREW_PATH}) {

$set_locallib = $ENV{HOME}.'/perl5';
print_text(
Expand Down Expand Up @@ -103,10 +102,10 @@

}

unless ($ENV{PERL_LOCAL_LIB_ROOT} || $ENV{PERLBREW_PATH}) {
unless ($ENV{PERL_LOCAL_LIB_ROOT} || $ENV{PERL_MM_OPT} || $ENV{PERL_MB_OPT} || $ENV{PERLBREW_PATH}) {
print_text(
"============================================================",
"local::lib (or perlbrew) is not active, if you just have installed it, please relogin to your account and just start this installer again like you did now!",
"local::lib (or perlbrew) is not active. If you ran this script for the first time, please now re-login to your user account and run it again!",
"",
);
exit 1;
Expand All @@ -126,6 +125,7 @@
"",
);

cpanminus_install_error() if (system('cpanm Module::Finder Module::Extract::VERSION'));
cpanminus_install_error() if (system('cpanm -n namespace::autoclean Moose'));
cpanminus_install_error() if (system('cpanm NANIS/Crypt-SSLeay-0.59_03.tar.gz'));
cpanminus_install_error() if (system('cpanm App::DuckPAN'));
Expand Down

0 comments on commit c4698b9

Please sign in to comment.