diff options
author | Jedidiah Barber <contact@jedbarber.id.au> | 2021-07-14 11:49:10 +1200 |
---|---|---|
committer | Jedidiah Barber <contact@jedbarber.id.au> | 2021-07-14 11:49:10 +1200 |
commit | d24f813f3f2a05c112e803e4256b53535895fc98 (patch) | |
tree | 601e6ae9a1cd44bcfdcf91739a5ca36aedd827c9 /packaging/debian/postinst |
Diffstat (limited to 'packaging/debian/postinst')
-rwxr-xr-x | packaging/debian/postinst | 6 |
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 |