summaryrefslogtreecommitdiff
path: root/packaging/debian/postinst
diff options
context:
space:
mode:
authorJedidiah Barber <contact@jedbarber.id.au>2021-07-14 11:49:10 +1200
committerJedidiah Barber <contact@jedbarber.id.au>2021-07-14 11:49:10 +1200
commitd24f813f3f2a05c112e803e4256b53535895fc98 (patch)
tree601e6ae9a1cd44bcfdcf91739a5ca36aedd827c9 /packaging/debian/postinst
Initial mirror commitHEADmaster
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