wok-6.x rev 18746
marble: one desktop entry only
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Sat Dec 26 11:26:22 2015 +0100 (2015-12-26) |
parents | 4197dd116ba7 |
children | 4f656577488b |
files | marble/receipt |
line diff
1.1 --- a/marble/receipt Fri Dec 25 21:45:26 2015 +0100 1.2 +++ b/marble/receipt Sat Dec 26 11:26:22 2015 +0100 1.3 @@ -29,4 +29,10 @@ 1.4 genpkg_rules() 1.5 { 1.6 cp -a $install/usr $fs 1.7 + cd $fs/usr/share/applications 1.8 + mv marble_osm.desktop marble.desktop 1.9 + for i in $(sed '/MimeType/!d;s/.*=//' marble_*); do 1.10 + sed -i "s|MimeType.*|&$i|" marble.desktop 1.11 + done 1.12 + rm -f marble_* 1.13 }