summaryrefslogtreecommitdiff
path: root/community/kde4-kio-rapip/kde4-kio-rapip.install
blob: b3ddbc43f5ff818a1ce7f33404c2c792453a3e18 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
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
}