+2008-09-18 Dustin Kirkland <kirkland@canonical.com>
+ Minor packaging fixes
+ Release version 1.7
+
2008-09-17 Dustin Kirkland <kirkland@canonical.com>
Updated release for inclusion in Ubuntu main;
simplified overall design, elminating the init
+update-motd (1.7) intrepid; urgency=low
+
+ * Packaging suggestions (LP: #271848)
+ * debian/postinst: use lt-nl instead of lt
+ * debian/prerm: remove entirely
+ * debian/rules: use dh_installcron
+ * debian/update-motd.cron.d: ensure that the binary exists and is
+ executable when running the cronjob
+ * update-motd.cron: moved to debian/update-motd.cron.d
+
+ -- Dustin Kirkland <kirkland@ubuntu.com> Thu, 18 Sep 2008 14:37:47 -0500
+
update-motd (1.6) intrepid; urgency=low
* ChangeLog: fill in details of the last few releases
case "$1" in
configure|reconfigure)
- if dpkg --compare-versions "$2" lt "1.6"; then
+ if dpkg --compare-versions "$2" lt-nl "1.6"; then
# init script from older update-motd's should be removed
rm -f /etc/init.d/update-motd
fi
dh_testroot
dh_clean -k
dh_installdirs
- install -o root -g root -m 644 update-motd.cron debian/update-motd/etc/cron.d/update-motd
# Build architecture-independent files here.
binary-indep: install
+++ /dev/null
-# /etc/cron.d/update-motd: crontab fragment for update-motd
-#
-# Running 'update-motd' dynamically generates the /etc/motd with
-# a concatenation of output from each script in /etc/update-motd.d.
-
-*/10 * * * * root /usr/sbin/update-motd 2>/dev/null