mirror of
git://git.openembedded.org/meta-openembedded
synced 2026-01-01 13:58:06 +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:
parent
bac9922af7
commit
a79ccdacc2
|
|
@ -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*||"\`
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user