diff options
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 +} |