[25765] in Source-Commits
/svn/athena r25217 - trunk/debathena/meta/login-graphical/debian
daemon@ATHENA.MIT.EDU (Jonathan D Reed)
Sat Jul 2 23:59:06 2011
Date: Sat, 2 Jul 2011 23:59:00 -0400
From: Jonathan D Reed <jdreed@MIT.EDU>
Message-Id: <201107030359.p633x0NM010269@drugstore.mit.edu>
To: source-commits@mit.edu
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
Author: jdreed
Date: 2011-07-02 23:59:00 -0400 (Sat, 02 Jul 2011)
New Revision: 25217
Modified:
trunk/debathena/meta/login-graphical/debian/rules
Log:
Support icedove
Modified: trunk/debathena/meta/login-graphical/debian/rules
===================================================================
--- trunk/debathena/meta/login-graphical/debian/rules 2011-07-03 03:46:01 UTC (rev 25216)
+++ trunk/debathena/meta/login-graphical/debian/rules 2011-07-03 03:59:00 UTC (rev 25217)
@@ -2,11 +2,20 @@
TBIRD_VERSION = $(shell apt-cache policy thunderbird 2>/dev/null | awk '/^ Candidate/ { print $$2 }')
TBIRD_3_1 = $(shell dpkg --compare-versions '$(TBIRD_VERSION)' ge '3.1~' && echo y)
+ICED_VERSION = $(shell apt-cache policy icedove 2>/dev/null | awk '/^ Can\
+didate/ { print $$2 }')
+ICED_3_1 = $(shell dpkg --compare-versions '$(ICED_VERSION)' ge '3.1~' && ech\
+o y)
ifneq ($(TBIRD_3_1),y)
binary-predeb/debathena-login-graphical::
echo "debathena-thunderbird-config-recommends=debathena-thunderbird-config" >> debian/debathena-login-graphical.substvars
+else
+ifneq ($(ICED_3_1),y)
+binary-predeb/debathena-login-graphical::
+ echo "debathena-thunderbird-config-recommends=debathena-thunderbird-config" >> debian/debathena-login-graphical.substvars
endif
+endif
include /usr/share/cdbs/1/rules/debhelper.mk