diff options
Diffstat (limited to 'photivo.install')
-rw-r--r-- | photivo.install | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/photivo.install b/photivo.install new file mode 100644 index 000000000000..a742032e8fc0 --- /dev/null +++ b/photivo.install @@ -0,0 +1,19 @@ + +post_install() { + echo "updating desktop mime database..." + update-desktop-database -q + update-mime-database usr/share/mime > /dev/null 2>&1 +} + +post_upgrade() { + post_install $1 +} + +post_remove() { + post_install $1 +} + +op=$1 +shift +$op $* +# vim: ft=sh |