summaryrefslogtreecommitdiff
path: root/community/kde4-kio-rapip/kde4-kio-rapip.install
diff options
context:
space:
mode:
Diffstat (limited to 'community/kde4-kio-rapip/kde4-kio-rapip.install')
-rw-r--r--community/kde4-kio-rapip/kde4-kio-rapip.install14
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
+}