[SCM] Packaging for teeworlds branch, master, updated. upstream/0.6.0-19-g9705866

Felix Geyer debfx-pkg at fobos.de
Thu May 19 09:50:34 UTC 2011


The following commit has been merged in the master branch:
commit b84c37e57443d8b09786a23f69e5938dbe72a846
Author: Felix Geyer <debfx-pkg at fobos.de>
Date:   Thu May 19 11:33:56 2011 +0200

    Only replace the embedded DejaVuSans.ttf when teeworlds-data is actually built.

diff --git a/debian/changelog b/debian/changelog
index f2f474b..afed1a1 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,3 +1,10 @@
+teeworlds (0.6.0-2) UNRELEASED; urgency=low
+
+  * Only replace the embedded DejaVuSans.ttf when teeworlds-data is
+    actually built.
+
+ -- Felix Geyer <debfx-pkg at fobos.de>  Thu, 19 May 2011 11:29:01 +0200
+
 teeworlds (0.6.0-1) unstable; urgency=low
 
   * New upstream release. (Closes: #625651)
diff --git a/debian/rules b/debian/rules
index 4966dfd..1bed33d 100755
--- a/debian/rules
+++ b/debian/rules
@@ -39,9 +39,11 @@ override_dh_auto_clean:
 
 override_dh_install:
 	dh_install
+ifneq (,$(filter teeworlds-data, $(shell dh_listpackages)))
 	rm debian/teeworlds-data/usr/share/games/teeworlds/data/fonts/LICENSE
 	rm debian/teeworlds-data/usr/share/games/teeworlds/data/fonts/DejaVuSans.ttf
 	ln -s /usr/share/fonts/truetype/ttf-dejavu/DejaVuSans.ttf debian/teeworlds-data/usr/share/games/teeworlds/data/fonts/
+endif
 
 override_dh_fixperms:
 	dh_fixperms

-- 
Packaging for teeworlds



More information about the Pkg-games-commits mailing list