[Pkg-sugar-commit] [sugar-memorize-activity] 05/08: Fix broken path in desktop file.
Jonas Smedegaard
dr at jones.dk
Tue Dec 13 21:14:40 UTC 2016
This is an automated email from the git hooks/post-receive script.
js pushed a commit to branch master
in repository sugar-memorize-activity.
commit ce25dea9068550ea2eb5ae8919c041859acb7710
Author: Jonas Smedegaard <dr at jones.dk>
Date: Tue Dec 13 21:24:50 2016 +0100
Fix broken path in desktop file.
---
debian/rules | 6 ++++++
1 file changed, 6 insertions(+)
diff --git a/debian/rules b/debian/rules
index f891a7a..9d2b9e6 100755
--- a/debian/rules
+++ b/debian/rules
@@ -61,3 +61,9 @@ clean::
find -name *.mo -delete
find -name *.linfo -delete
rm -f MANIFEST
+
+# 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-memorize-activity.git
More information about the pkg-sugar-commit
mailing list