From 070171e266bf5cab6647dd4c7d8f0bb7887551b4 Mon Sep 17 00:00:00 2001 From: Justin Davis Date: Fri, 1 Jun 2012 12:21:10 -0400 Subject: Move scrapecore script. Perl corelist will be bundled now. The core module list for perl might as well be bundled with genpkg. The setup script will install it to the proper place. The scrapecore script will still be included for completeness but shouldn't have to be used by the user, hopefully. --- preps/perl.d/perl-dist | 10 ++++------ 1 file changed, 4 insertions(+), 6 deletions(-) (limited to 'preps/perl.d/perl-dist') diff --git a/preps/perl.d/perl-dist b/preps/perl.d/perl-dist index 05269f3..c465b03 100755 --- a/preps/perl.d/perl-dist +++ b/preps/perl.d/perl-dist @@ -330,16 +330,14 @@ sub _nocore { my(@mods) = @_; - my $cmpath = _vardir() . '/coremods'; + my $cmpath = _vardir() . '/perlcore.mods'; unless(-f $cmpath){ - my $scpath = ($ENV{'PREPSPATH'} - ? "$ENV{'PREPSPATH'}/perl.d/scrapecore" - : q{genpkg's preps/perl.d/scrapecore}); print STDERR <<"END_ERR"; $PROG: error: $cmpath is missing. ****************************************************************************** - You must generate it with $scpath. - Run it against the version of perl that is the official package. + This file should have been installed along with genpkg. Copy the file from + genpkg's source or generate it with the misc/perlcore script in genpkg's + source. Make sure to use the same version as the perl you are using. ****************************************************************************** END_ERR exit 1; -- cgit v1.2.3-24-g4f1b