[Pkg-sysvinit-commits] r380 - sysvinit/trunk/debian/initscripts
Thomas Hood
jdthood-guest at costa.debian.org
Thu Dec 15 00:01:21 UTC 2005
Author: jdthood-guest
Date: 2005-12-15 00:01:18 +0000 (Thu, 15 Dec 2005)
New Revision: 380
Modified:
sysvinit/trunk/debian/initscripts/postinst
Log:
Don't create empty motd.tail
Modified: sysvinit/trunk/debian/initscripts/postinst
===================================================================
--- sysvinit/trunk/debian/initscripts/postinst 2005-12-14 23:57:18 UTC (rev 379)
+++ sysvinit/trunk/debian/initscripts/postinst 2005-12-15 00:01:18 UTC (rev 380)
@@ -214,6 +214,7 @@
if [ -f /etc/motd ]
then
sed 1d /etc/motd > /etc/motd.tail
+ [ -s /etc/motd.tail ] || rm -f /etc/motd.tail
fi
fi
if [ ! -f /var/run/motd ]
More information about the Pkg-sysvinit-commits
mailing list