diff options
Diffstat (limited to 'scanmem.install')
-rw-r--r-- | scanmem.install | 23 |
1 files changed, 23 insertions, 0 deletions
diff --git a/scanmem.install b/scanmem.install new file mode 100644 index 000000000000..dad6017120c9 --- /dev/null +++ b/scanmem.install @@ -0,0 +1,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: |