wok-next diff shared-mime-info/receipt @ rev 828
mtpaint, alsamixer, gcolor2: improved icon and desktop files
author | Christophe Lincoln <pankso@slitaz.org> |
---|---|
date | Sat May 17 21:36:03 2008 +0200 (2008-05-17) |
parents | cdba62f24f35 |
children | c56e0f839d1a |
line diff
1.1 --- a/shared-mime-info/receipt Fri Jan 25 23:12:59 2008 +0100 1.2 +++ b/shared-mime-info/receipt Sat May 17 21:36:03 2008 +0200 1.3 @@ -26,14 +26,19 @@ 1.4 genpkg_rules() 1.5 { 1.6 mkdir -p $fs/usr/share/locale 1.7 - 1.8 cp -a $_pkg/usr/bin $fs/usr 1.9 cp -a $_pkg/usr/share/mime $fs/usr/share 1.10 - cp -a $_pkg/usr/share/locale/fr $fs/usr/share/locale 1.11 - strip -s $fs/usr/bin/* 1.12 1.13 # Put pkgconfig *.pc file, since we are not doing 1.14 # a -dev pkg for one tiny file. 1.15 mkdir -p $fs/usr/lib 1.16 cp -a $_pkg/usr/share/pkgconfig $fs/usr/lib 1.17 } 1.18 + 1.19 +# Update mime database. 1.20 +post_install() 1.21 +{ 1.22 + local root 1.23 + root=$1 1.24 + update-mime-database $root/usr/share/mime || continue 1.25 +}