summarylogtreecommitdiffstats
path: root/cryptomator.install
diff options
context:
space:
mode:
Diffstat (limited to 'cryptomator.install')
-rw-r--r--cryptomator.install9
1 files changed, 9 insertions, 0 deletions
diff --git a/cryptomator.install b/cryptomator.install
new file mode 100644
index 000000000000..cd21dbe39677
--- /dev/null
+++ b/cryptomator.install
@@ -0,0 +1,9 @@
+post_install() {
+ xdg-desktop-menu install --novendor /usr/share/applications/cryptomator.desktop
+ xdg-mime install /usr/share/mime/packages/cryptomator-vault.xml
+}
+pre_remove() {
+ xdg-desktop-menu uninstall --novendor /usr/share/applications/cryptomator.desktop
+ xdg-mime uninstall /usr/share/mime/packages/cryptomator-vault.xml
+}
+