summaryrefslogtreecommitdiff
path: root/packaging/debian/prerm
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/prerm
Initial mirror commitHEADmaster
Diffstat (limited to 'packaging/debian/prerm')
-rwxr-xr-xpackaging/debian/prerm7
1 files changed, 7 insertions, 0 deletions
diff --git a/packaging/debian/prerm b/packaging/debian/prerm
new file mode 100755
index 0000000..22fa72a
--- /dev/null
+++ b/packaging/debian/prerm
@@ -0,0 +1,7 @@
+#!/bin/sh
+set -e
+xdg-mime uninstall --novendor /usr/share/freshmemory/freshmemory.xml
+update-mime-database /usr/share/mime
+xdg-desktop-menu uninstall --novendor /usr/share/applications/freshmemory.desktop
+xdg-icon-resource uninstall --context mimetypes --size 128 /usr/share/pixmaps/freshmemory.png application-x-fm-dictionary
+