From: Sven Hoexter Date: Sat, 3 Oct 2009 08:55:50 +0000 (+0000) Subject: Move the cron examples into debian/example and install them with X-Git-Tag: debian/1.1.2-1~7 X-Git-Url: http://git.sven.stormbind.net/?p=sven%2Fpflogsumm.git;a=commitdiff_plain;h=e5d195543281384ed83fcb622c5c778aace498ea Move the cron examples into debian/example and install them with a debian/examples file. --- diff --git a/debian/changelog b/debian/changelog index 0721db4..a530021 100644 --- a/debian/changelog +++ b/debian/changelog @@ -9,6 +9,8 @@ pflogsumm (1.1.1-1) unstable; urgency=low * Add debian/compat file. * Add debian/manpages to include the manpage. * Add debian/docs to include the README and FAQ. + * Move the cron examples into debian/example and install them with + a debian/examples file. -- Sven Hoexter Sat, 03 Oct 2009 10:22:32 +0200 diff --git a/debian/example.cron.daily b/debian/example.cron.daily deleted file mode 100644 index 9f8be2a..0000000 --- a/debian/example.cron.daily +++ /dev/null @@ -1,10 +0,0 @@ -#!/bin/sh -# -# Debian pflogsumm daily cron script -# -# This script analyses the logfile for statistics and problems. -# - -if [ -x /usr/sbin/pflogsumm.pl ]; then - /usr/sbin/pflogsumm.pl -d yesterday --problems_first /var/log/mail.log -fi diff --git a/debian/example.cron.weekly b/debian/example.cron.weekly deleted file mode 100644 index 4d67bda..0000000 --- a/debian/example.cron.weekly +++ /dev/null @@ -1,10 +0,0 @@ -#!/bin/sh -# -# Debian pflogsumm weekly cron script -# -# This script analyses the logfile for statistics and problems. -# - -if [ -x /usr/sbin/pflogsumm.pl ]; then - /usr/sbin/pflogsumm.pl --problems_first /var/log/mail.log* -fi diff --git a/debian/example/cron.daily b/debian/example/cron.daily new file mode 100644 index 0000000..9f8be2a --- /dev/null +++ b/debian/example/cron.daily @@ -0,0 +1,10 @@ +#!/bin/sh +# +# Debian pflogsumm daily cron script +# +# This script analyses the logfile for statistics and problems. +# + +if [ -x /usr/sbin/pflogsumm.pl ]; then + /usr/sbin/pflogsumm.pl -d yesterday --problems_first /var/log/mail.log +fi diff --git a/debian/example/cron.weekly b/debian/example/cron.weekly new file mode 100644 index 0000000..4d67bda --- /dev/null +++ b/debian/example/cron.weekly @@ -0,0 +1,10 @@ +#!/bin/sh +# +# Debian pflogsumm weekly cron script +# +# This script analyses the logfile for statistics and problems. +# + +if [ -x /usr/sbin/pflogsumm.pl ]; then + /usr/sbin/pflogsumm.pl --problems_first /var/log/mail.log* +fi diff --git a/debian/examples b/debian/examples new file mode 100644 index 0000000..4cdf064 --- /dev/null +++ b/debian/examples @@ -0,0 +1,2 @@ +debian/example/cron.daily +debian/example/cron.weekly