Move the cron examples into debian/example and install them with
authorSven Hoexter <sven@timegate.de>
Sat, 3 Oct 2009 08:55:50 +0000 (08:55 +0000)
committerSven Hoexter <sven@timegate.de>
Sat, 3 Oct 2009 08:55:50 +0000 (08:55 +0000)
a debian/examples file.

debian/changelog
debian/example.cron.daily [deleted file]
debian/example.cron.weekly [deleted file]
debian/example/cron.daily [new file with mode: 0644]
debian/example/cron.weekly [new file with mode: 0644]
debian/examples [new file with mode: 0644]

index 0721db4..a530021 100644 (file)
@@ -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 <hoexter@debian.org>  Sat, 03 Oct 2009 10:22:32 +0200
 
diff --git a/debian/example.cron.daily b/debian/example.cron.daily
deleted file mode 100644 (file)
index 9f8be2a..0000000
+++ /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 (file)
index 4d67bda..0000000
+++ /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 (file)
index 0000000..9f8be2a
--- /dev/null
@@ -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 (file)
index 0000000..4d67bda
--- /dev/null
@@ -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 (file)
index 0000000..4cdf064
--- /dev/null
@@ -0,0 +1,2 @@
+debian/example/cron.daily
+debian/example/cron.weekly