wok rev 18747
marble: one desktop entry only (again)
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Sat Dec 26 13:11:10 2015 +0100 (2015-12-26) |
parents | e8fc6e4491a9 |
children | d6a5d594b6e3 |
files | marble/receipt |
line diff
1.1 --- a/marble/receipt Sat Dec 26 11:26:22 2015 +0100 1.2 +++ b/marble/receipt Sat Dec 26 13:11:10 2015 +0100 1.3 @@ -34,5 +34,9 @@ 1.4 for i in $(sed '/MimeType/!d;s/.*=//' marble_*); do 1.5 sed -i "s|MimeType.*|&$i|" marble.desktop 1.6 done 1.7 - rm -f marble_* 1.8 } 1.9 + 1.10 +post_install() 1.11 +{ 1.12 + rm -f $1/usr/share/applications/marble_*.desktop 1.13 +}