[Pkg-mailman-hackers] Pkg-mailman commit - rev 210 - trunk/debian
Tollef Fog Heen
tfheen@costa.debian.org
Wed, 16 Feb 2005 21:30:25 +0100
Author: tfheen
Date: 2005-02-16 21:30:24 +0100 (Wed, 16 Feb 2005)
New Revision: 210
Modified:
trunk/debian/changelog
trunk/debian/postinst
Log:
Use head -n 1 instead of cat for getting the mailname out of /etc/mailname. (closes: #287636)
Modified: trunk/debian/changelog
===================================================================
--- trunk/debian/changelog 2005-02-16 20:28:54 UTC (rev 209)
+++ trunk/debian/changelog 2005-02-16 20:30:24 UTC (rev 210)
@@ -4,6 +4,8 @@
Cgi/private.py. (closes: #294874)
* Handle the case of non-ascii chars in realname. (closes: #293861)
* Fix up typo in cron script (closes: #284311)
+ * Use head -n 1 instead of cat for getting the mailname out of
+ /etc/mailname. (closes: #287636)
-- Tollef Fog Heen <tfheen@debian.org> Wed, 16 Feb 2005 20:29:00 +0100
Modified: trunk/debian/postinst
===================================================================
--- trunk/debian/postinst 2005-02-16 20:28:54 UTC (rev 209)
+++ trunk/debian/postinst 2005-02-16 20:30:24 UTC (rev 210)
@@ -285,7 +285,7 @@
if [ -e /etc/mailname ]
then
- DOMAIN=$(cat /etc/mailname)
+ DOMAIN=$(head -n 1 /etc/mailname)
# fixme - should we look for a dot in the domainname?
else
DOMAIN=localhost.localdomain