diff options
Diffstat (limited to 'extra/obconf/obconf.install')
-rw-r--r-- | extra/obconf/obconf.install | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/extra/obconf/obconf.install b/extra/obconf/obconf.install new file mode 100644 index 000000000..5264d8979 --- /dev/null +++ b/extra/obconf/obconf.install @@ -0,0 +1,15 @@ +# arg 1: the new package version +post_install() { + update-desktop-database -q /usr/share/applications + update-mime-database /usr/share/mime 1> /dev/null +} + +post_upgrade() { + post_install $1 +} + +# arg 1: the old package version +post_remove() { + update-desktop-database -q + update-mime-database /usr/share/mime 1> /dev/null +} |