summarylogtreecommitdiffstats
path: root/scanmem.install
blob: dad6017120c9cf6200a7cf3526e7246a8ad589e2 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
update_cache() {
  if [ -x usr/bin/xdg-icon-resource ]; then
    xdg-icon-resource forceupdate --theme hicolor > /dev/null 2>&1
  fi

  if [ -x usr/bin/update-desktop-database ]; then
    usr/bin/update-desktop-database -q
  fi
}

post_install() {
  update_cache
}

post_upgrade() {
  update_cache
}

post_remove() {
  update_cache
}

# vim: ts=2 sw=2 et: