[Pkg-sugar-commit] [sugar-log-activity] 03/08: Fix broken paths in desktop file.

Jonas Smedegaard dr at jones.dk
Tue Dec 13 17:14:07 UTC 2016


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

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

commit 4fe6a29ad298bcad32e490744da738aa282d3a07
Author: Jonas Smedegaard <dr at jones.dk>
Date:   Tue Dec 13 17:57:23 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 6f3b4eb..d5c0586 100755
--- a/debian/rules
+++ b/debian/rules
@@ -48,3 +48,9 @@ CDBS_RECOMMENDS_$(pkg) +=, net-tools, procps
 binary-post-install/$(pkg)::
 	mv debian/$(cdbs_curpkg)/usr/share/locale/aym \
 		debian/$(cdbs_curpkg)/usr/share/locale/ay
+
+# 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-log-activity.git



More information about the pkg-sugar-commit mailing list