Package: texmaker
Version: 3.0.2-1

Version 3.0.2-1 unfortunately used the earlier, broken change to debian/rules 
that I submitted to the bug tracker.

Please apply the attached patch to the debian/ directory. And in the future, 
please pay closer attention to comments in the bug, not just patches.

This issue is fixed in the Ubuntu upload 3.0.2-1ubuntu1. In fact, it is the 
only difference.
diff -urN texmaker-3.0.2.orig/debian/rules texmaker-3.0.2/debian/rules
--- texmaker-3.0.2.orig/debian/rules	2011-04-30 22:02:15.581598019 +0700
+++ texmaker-3.0.2/debian/rules	2011-04-30 22:02:30.881598019 +0700
@@ -30,7 +30,7 @@
 override_dh_install:
 	dh_install
 	# Rename all hicolor icons to texmaker.png
-	for i in 16 22 32 48 64 128 ; do \
+	[ ! -d $(CURDIR)/debian/$(data)/usr/share/icons/hicolor/ ] || for i in 16 22 32 48 64 128 ; do \
 	    mv $(CURDIR)/debian/$(data)/usr/share/icons/hicolor/$${i}x$${i}/apps/$(pkg)$${i}x$${i}.png \
 	        $(CURDIR)/debian/$(data)/usr/share/icons/hicolor/$${i}x$${i}/apps/$(pkg).png ; \
 	done

Reply via email to