projects
/
usenet
/
newsstats.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Accept an upper/lower boundary of 0 (zero).
[usenet/newsstats.git]
/
install
/
install.pl
diff --git
a/install/install.pl
b/install/install.pl
index
aff4480
..
e2acf66
100755
(executable)
--- a/
install/install.pl
+++ b/
install/install.pl
@@
-12,7
+12,7
@@
# which Perl itself is published.
BEGIN {
# which Perl itself is published.
BEGIN {
- our $VERSION = "0.0
1
";
+ our $VERSION = "0.0
2
";
use File::Basename;
# we're in .../install, so our module is in ../lib
push(@INC, dirname($0).'/../lib');
use File::Basename;
# we're in .../install, so our module is in ../lib
push(@INC, dirname($0).'/../lib');
@@
-22,8
+22,6
@@
use warnings;
use NewsStats qw(:DEFAULT);
use NewsStats qw(:DEFAULT);
-use Cwd;
-
use DBI;
use Getopt::Long qw(GetOptions);
Getopt::Long::config ('bundling');
use DBI;
use Getopt::Long qw(GetOptions);
Getopt::Long::config ('bundling');
@@
-37,10
+35,6
@@
GetOptions ('u|update=s' => \$OptUpdate,
'h|help' => \&ShowPOD,
'V|version' => \&ShowVersion) or exit 1;
'h|help' => \&ShowPOD,
'V|version' => \&ShowVersion) or exit 1;
-### change working directory to .. (as we're in .../install)
-chdir dirname($FullPath).'/..';
-my $Path = cwd();
-
### read configuration
print("Reading configuration.\n");
my %Conf = %{ReadConfig($OptConfFile)};
### read configuration
print("Reading configuration.\n");
my %Conf = %{ReadConfig($OptConfFile)};
@@
-109,7
+103,7
@@
Things left to do:
## gather statistics for NewsStats
newsstats!\\
:!*,de.*\\
## gather statistics for NewsStats
newsstats!\\
:!*,de.*\\
- :Tc,WmtfbsPNH,Ac:$
Path
/feedlog.pl
+ :Tc,WmtfbsPNH,Ac:$
HomePath/bin
/feedlog.pl
Please
Please
@@
-256,7
+250,7
@@
install - installation script
=head1 SYNOPSIS
=head1 SYNOPSIS
-B<install> [B<-Vh> [--update I<version>] [
--conffile
I<filename>]
+B<install> [B<-Vh> [--update I<version>] [
B<--conffile>
I<filename>]
=head1 REQUIREMENTS
=head1 REQUIREMENTS
@@
-268,8
+262,9
@@
This script will create database tables as necessary and configured.
=head2 Configuration
=head2 Configuration
-B<install> will read its configuration from F<newsstats.conf> via
-Config::Auto.
+B<install> will read its configuration from F<newsstats.conf> which should
+be present in etc/ via Config::Auto or from a configuration file submitted
+by the B<--conffile> option.
See L<doc/INSTALL> for an overview of possible configuration options.
See L<doc/INSTALL> for an overview of possible configuration options.
This page took
0.011364 seconds
and
4
git commands to generate.