summarylogtreecommitdiffstats
path: root/phatch.install
diff options
context:
space:
mode:
Diffstat (limited to 'phatch.install')
-rw-r--r--phatch.install18
1 files changed, 18 insertions, 0 deletions
diff --git a/phatch.install b/phatch.install
new file mode 100644
index 000000000000..6e4de7628863
--- /dev/null
+++ b/phatch.install
@@ -0,0 +1,18 @@
+post_install() {
+ echo "update desktop mime database..."
+ update-desktop-database -q
+}
+
+post_upgrade() {
+ post_install $1
+}
+
+
+post_remove() {
+ echo "update desktop mime database..."
+ update-desktop-database -q
+}
+
+op=$1
+shift
+$op $*