tidy fix for broken paths in desktop file
Jonas Smedegaard
3 years ago
14 | 14 | # Fix broken paths in desktop file |
15 | 15 | # * TODO: drop when fixed in sugar-toolkit-gtk3 |
16 | 16 | binary-fixup/$(pkg):: |
17 | find $(cdbs_curdestdir)/usr/share -type f -name '*.desktop' \ | |
18 | -execdir perl -pi -e 's,^\S+\s*=\s*\K\S*(?=/usr/share),,g' '{}' ';' | |
17 | perl -pi -e 's,^\S+\s*=\s*\K\S*(?=/usr/share),,g' \ | |
18 | $(cdbs_curdestdir)/usr/share/applications/*.desktop | |
19 | 19 | |
20 | 20 | # Ensure optimal hash-bang + dependency for scripts (see Python Policy) |
21 | 21 | binary-fixup/$(pkg):: |