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:
Li xin 2015-02-12 14:24:10 +08:00 committed by Martin Jansa
parent bac9922af7
commit a79ccdacc2

View File

@ -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*||"\`