From 9de7479d3f4cbe0be0a7aa9cbe38623aa03d6269 Mon Sep 17 00:00:00 2001 From: Peter Palfrader Date: Thu, 12 Sep 2002 04:28:40 +0000 Subject: Have install-perl-modules tool --- NEWS | 1 + README | 6 +++++- tools/install-perl-modules | 12 ++++++++++++ 3 files changed, 18 insertions(+), 1 deletion(-) create mode 100755 tools/install-perl-modules diff --git a/NEWS b/NEWS index dd6260a..181cdaf 100644 --- a/NEWS +++ b/NEWS @@ -6,6 +6,7 @@ Changes in version 2.0rc3 * Template cleanup: fix a link and add links to .txt versions to front page. * Add sendpings command. + * Have install-perl-modules tool. Changes in version 2.0rc2 - 2002-09-08 * Reopen stdin to /dev/null instead of closing it to avoid diff --git a/README b/README index fdb0097..eead281 100644 --- a/README +++ b/README @@ -1,4 +1,4 @@ -$Id: README,v 1.30 2002/08/25 09:33:43 weasel Exp $ +$Id: README,v 1.31 2002/09/12 04:28:40 weasel Exp $ ##################################################################### ## R E A D M E F O R E C H O L O T ########################### ##################################################################### @@ -41,6 +41,10 @@ Indirect requirements: Class:MethodMaker (by GnuPG::Interface) File::Spec (by HTML::Template, should be in more recent perl-base) + If you have the CPAN perl module installed, you can use the + »install-perl-modules« script in the tools directory to download and + install the needed perl moduesl. + SETUP ----- diff --git a/tools/install-perl-modules b/tools/install-perl-modules new file mode 100755 index 0000000..3848e8e --- /dev/null +++ b/tools/install-perl-modules @@ -0,0 +1,12 @@ +#! /usr/bin/perl -w + +# This script installs all perl libraries Echolot needs +# using your CPAN module + +use strict; +use CPAN; + +for my $mod (qw{Data::Dumper Digest::MD5 HTML::Template GnuPG::Interface}) { + my $obj = CPAN::Shell->expand('Module',$mod); + $obj->install(); +}; -- cgit v1.2.3