[Pkg-sugar-commit] [sugar-etoys-activity] 01/07: Fix broken paths in desktop file.

Jonas Smedegaard dr at jones.dk
Tue Dec 13 22:20:04 UTC 2016


This is an automated email from the git hooks/post-receive script.

js pushed a commit to branch master
in repository sugar-etoys-activity.

commit f209edbb2362dcb04c230f480f5eb745d74bc5e4
Author: Jonas Smedegaard <dr at jones.dk>
Date:   Tue Dec 13 22:15:51 2016 +0100

    Fix broken paths in desktop file.
---
 debian/rules | 6 ++++++
 1 file changed, 6 insertions(+)

diff --git a/debian/rules b/debian/rules
index fd1c346..14c0309 100755
--- a/debian/rules
+++ b/debian/rules
@@ -49,3 +49,9 @@ CDBS_RECOMMENDS_$(pkg) = $(recommends)
 # Avoid install icons (shipped with sugar-*-icon-theme)
 install/$(pkg)::
 	rm -rf $(cdbs_curdestdir)usr/share/icons
+
+# Fix broken paths in desktop file
+#  * TODO: drop when fixed in sugar-toolkit-gtk3
+binary-fixup/$(pkg)::
+	find $(cdbs_curdestdir)/usr/share -type f -name '*.desktop' \
+		-execdir perl -pi -e 's,^\S+\s*=\s*\K\S*(?=/usr/share),,g' '{}' ';'

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-sugar/sugar-etoys-activity.git



More information about the pkg-sugar-commit mailing list