diff options
author | root <root@rshg047.dnsready.net> | 2011-05-04 12:58:32 +0000 |
---|---|---|
committer | root <root@rshg047.dnsready.net> | 2011-05-04 12:58:32 +0000 |
commit | 9780d07c31b22125ad7ecba4e281ff41194f95be (patch) | |
tree | 2336cb3e1bd98fe4b7631eb175c25f90a243815a /community/kde4-kio-rapip/kde4-kio-rapip.install | |
parent | ddb2605f6bccbdb398f3937ff21e4688915a450d (diff) |
Wed May 4 12:58:31 UTC 2011
Diffstat (limited to 'community/kde4-kio-rapip/kde4-kio-rapip.install')
-rw-r--r-- | community/kde4-kio-rapip/kde4-kio-rapip.install | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/community/kde4-kio-rapip/kde4-kio-rapip.install b/community/kde4-kio-rapip/kde4-kio-rapip.install new file mode 100644 index 000000000..b3ddbc43f --- /dev/null +++ b/community/kde4-kio-rapip/kde4-kio-rapip.install @@ -0,0 +1,14 @@ +post_install() { + which xdg-icon-resource 1>/dev/null 2>/dev/null && xdg-icon-resource forceupdate || true + update-mime-database usr/share/mime 1>/dev/null 2>/dev/null || true +} + +post_upgrade() { + which xdg-icon-resource 1>/dev/null 2>/dev/null && xdg-icon-resource forceupdate || true + update-mime-database usr/share/mime 1>/dev/null 2>/dev/null || true +} + +post_remove() { + which xdg-icon-resource 1>/dev/null 2>/dev/null && xdg-icon-resource forceupdate || true + update-mime-database usr/share/mime 1>/dev/null 2>/dev/null || true +} |