Skip to content

Commit

Permalink
* When it is an update, don't send out "you are now ready to run make…
Browse files Browse the repository at this point in the history
…cat"

  message which confuses people.
  • Loading branch information
perusionmike committed Oct 25, 2002
1 parent 8e54b35 commit 9cce3ec
Showing 1 changed file with 14 additions and 0 deletions.
14 changes: 14 additions & 0 deletions Makefile.PL
Expand Up @@ -445,6 +445,7 @@ sub initialize {
my @re_dir = qw();
my @re_copy = qw();

my $upgrade;
if($MV::Default{final}) {
$^W = 0;
for(glob "_*") {
Expand Down Expand Up @@ -510,6 +511,7 @@ sub initialize {
File::Copy::copy($from, $to);
}
for (@files) {
$upgrade ||= -f "$realdir/$_";
install_file('.', $realdir, $_);
}
chdir '..';
Expand Down Expand Up @@ -656,12 +658,24 @@ EOF
}
system $^X, 'src/cpan_local_install', '-c';
}
if($upgrade) {
print <<EOF;
Since this was an update, you are now ready to restart and ensure
your catalogs run as expected. You do NOT need to re-run makecat,
though you can always do that to make a new catalog. Never run
makecat on an existing catalog.
EOF
}
else {
print <<EOF;
You are now ready to cd to $realdir and run 'bin/makecat'
to set up your first catalog.
EOF
}
exit;

}
Expand Down

0 comments on commit 9cce3ec

Please sign in to comment.