mirror of
https://github.com/openembedded/meta-openembedded.git
synced 2026-06-04 14:39:54 +00:00
logwatch_7.4.1.bb: Bug fix
The "ln -sf ../..${datadir}/logwatch/scripts/logwatch.pl ${D}${sysconfdir}/cron.daily/0logwatch" is wrong.
it will lead to the logwatch unable to be used. so delete it.
Signed-off-by: Li Xin <lixin.fnst@cn.fujitsu.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
This commit is contained in:
@@ -36,7 +36,6 @@ do_install() {
|
||||
|
||||
install -m 0755 -d ${D}${sysconfdir}/cron.daily
|
||||
install -m 0755 -d ${D}${sbindir}
|
||||
ln -sf ../..${datadir}/logwatch/scripts/logwatch.pl ${D}${sysconfdir}/cron.daily/0logwatch
|
||||
ln -sf ../..${datadir}/logwatch/scripts/logwatch.pl ${D}${sbindir}/logwatch
|
||||
cat > ${D}${sysconfdir}/cron.daily/0logwatch <<EOF
|
||||
DailyReport=\`grep -e "^[[:space:]]*DailyReport[[:space:]]*=[[:space:]]*" /usr/share/logwatch/default.conf/logwatch.conf | head -n1 | sed -e "s|^\s*DailyReport\s*=\s*||"\`
|
||||
|
||||
Reference in New Issue
Block a user