corrected conditional for debian to look in the path where the package installs the awbsp script, fixes #96

This commit is contained in:
Robert Foerster (Dessa)
2010-03-27 08:58:11 +00:00
parent 81dad796ee
commit 16b7d7f029

View File

@@ -41,7 +41,7 @@ function awstatsDoSingleDomain($domain, $outputdir)
* debian...pffff, #87
*/
if (!file_exists($awbsp)) {
$awbsp = '/usr/lib/cgi-bin/awstats_buildstaticpages.pl';
$awbsp = '/usr/share/doc/awstats/examples/awstats_buildstaticpages.pl';
}
if (!file_exists($awbsp)) {