install_logwatch.sh problem
Markus Lude <[email protected]>
| Newsgroups | gmane.comp.log.logwatch.devel |
|---|---|
| Message-ID | <[email protected]> |
Hello, if one changes the config dir when running install_logwatch.sh, the path in logwatch.pl isn't changed. from install_logwatch.sh: if [ $munge_conf ]; then perl -pi -e "s%/etc/logwatch/conf%$CONFIGDIR/conf%" $BASEDIR/scripts/logwatch.pl fi But the setting of ConfigDir in logwatch.pl doesn't contain the "conf" part: $ grep etc/logwatch logwatch-7.3.6/scripts/logwatch.pl my $ConfigDir = "/etc/logwatch"; The part in the install script should better be something like: if [ $munge_conf ]; then perl -pi -e "s%/etc/logwatch%$CONFIGDIR%" $BASEDIR/scripts/logwatch.pl fi Regards, Markus