From 452f5544c43a2417efc5a8a792e3cd493debcc22 Mon Sep 17 00:00:00 2001 From: Kuklin István Date: Mon, 4 Mar 2019 09:14:01 +0100 Subject: It works! Mandatory fields, .SRCINFO --- anki-official-binary-bundle.install | 9 +++++++++ 1 file changed, 9 insertions(+) create mode 100644 anki-official-binary-bundle.install (limited to 'anki-official-binary-bundle.install') diff --git a/anki-official-binary-bundle.install b/anki-official-binary-bundle.install new file mode 100644 index 0000000..e54a631 --- /dev/null +++ b/anki-official-binary-bundle.install @@ -0,0 +1,9 @@ +post_install () { + xdg-mime install /usr/share/anki/anki.xml --novendor + xdg-mime default /usr/share/applications/anki.desktop application/x-colpkg + xdg-mime default /usr/share/applications/anki.desktop application/x-apkg +} + +pre_remove() { + xdg-mime uninstall /usr/share/anki/anki.xml +} -- cgit v1.2.3-70-g09d2