[26881] in Source-Commits

home help back first fref pref prev next nref lref last post

/svn/athena r25812 - trunk/debathena/config/lightdm-config/debian

daemon@ATHENA.MIT.EDU (Jonathan D Reed)
Tue Feb 19 14:19:04 2013

Date: Tue, 19 Feb 2013 14:18:56 -0500
From: Jonathan D Reed <jdreed@MIT.EDU>
Message-Id: <201302191918.r1JJIuuc018232@drugstore.mit.edu>
To: source-commits@MIT.EDU
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit

Author: jdreed
Date: 2013-02-19 14:18:56 -0500 (Tue, 19 Feb 2013)
New Revision: 25812

Modified:
   trunk/debathena/config/lightdm-config/debian/rules
Log:
Only transform the upstart job when it exists

Modified: trunk/debathena/config/lightdm-config/debian/rules
===================================================================
--- trunk/debathena/config/lightdm-config/debian/rules	2013-02-19 19:09:47 UTC (rev 25811)
+++ trunk/debathena/config/lightdm-config/debian/rules	2013-02-19 19:18:56 UTC (rev 25812)
@@ -3,8 +3,11 @@
 DEB_DIVERT_EXTENSION = .debathena
 DEB_DIVERT_FILES_debathena-lightdm-config += \
 	/etc/lightdm/lightdm.conf.debathena
-DEB_TRANSFORM_FILES_debathena-lightdm-config += \
+
+ifneq ($(wildcard /etc/init/lightdm.conf),)
+    DEB_TRANSFORM_FILES_debathena-lightdm-config += \
 	/etc/init/lightdm.conf.debathena
+endif
 
 include /usr/share/cdbs/1/rules/debhelper.mk
 include /usr/share/cdbs/1/rules/config-package.mk


home help back first fref pref prev next nref lref last post