summaryrefslogtreecommitdiff
path: root/packaging/debian/postinst
diff options
context:
space:
mode:
Diffstat (limited to 'packaging/debian/postinst')
-rwxr-xr-xpackaging/debian/postinst6
1 files changed, 6 insertions, 0 deletions
diff --git a/packaging/debian/postinst b/packaging/debian/postinst
new file mode 100755
index 0000000..78e82c3
--- /dev/null
+++ b/packaging/debian/postinst
@@ -0,0 +1,6 @@
+#!/bin/sh
+set -e
+xdg-mime install --novendor /usr/share/freshmemory/freshmemory.xml
+update-mime-database /usr/share/mime
+xdg-desktop-menu install --novendor /usr/share/applications/freshmemory.desktop
+xdg-icon-resource install --context mimetypes --size 128 /usr/share/pixmaps/freshmemory.png application-x-fm-dictionary