Fix config path detection for install.pl.
[usenet/newsstats.git] / install / install.pl
index 374d74b..0787805 100755 (executable)
@@ -40,6 +40,8 @@ chdir dirname($0).'/..';
 my $Path = cwd();
 
 ### read configuration
+$HomePath = '..' if ($HomePath eq '.');
+$HomePath =~ s/install/./;
 print("Reading configuration.\n");
 my %Conf = %{ReadConfig($HomePath.'/newsstats.conf')};
 
This page took 0.010517 seconds and 4 git commands to generate.