[23921] in Source-Commits
/svn/athena r23531 - trunk/athena/bin/discuss/debian
daemon@ATHENA.MIT.EDU (Evan Broder)
Thu Mar 5 15:28:12 2009
Date: Thu, 5 Mar 2009 15:28:07 -0500
From: Evan Broder <broder@MIT.EDU>
Message-Id: <200903052028.n25KS79w013594@drugstore.mit.edu>
To: source-commits@mit.edu
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
Author: broder
Date: 2009-03-05 15:28:07 -0500 (Thu, 05 Mar 2009)
New Revision: 23531
Modified:
trunk/athena/bin/discuss/debian/debathena-discuss-server.postinst
Log:
Create the discussd inetd service if upgrading from versions of the
package that didn't, not just if the package is being installed for
the first time.
Modified: trunk/athena/bin/discuss/debian/debathena-discuss-server.postinst
===================================================================
--- trunk/athena/bin/discuss/debian/debathena-discuss-server.postinst 2009-03-05 20:21:12 UTC (rev 23530)
+++ trunk/athena/bin/discuss/debian/debathena-discuss-server.postinst 2009-03-05 20:28:07 UTC (rev 23531)
@@ -23,7 +23,7 @@
if ! grep -q '^discuss[[:space:]]' /etc/services; then
echo "Discuss 2100/tcp # Networked conferencing." >>/etc/services
fi
- if [ -z "$2" ]; then
+ if dpkg --compare-version "$2" lt 10.0.7-0debathena3; then
update-inetd --add \
'discuss\tstream\ttcp\tnowait\tdiscuss\t/usr/sbin/discussd'
fi