diff options
Diffstat (limited to 'anki-official-binary-bundle/anki-official-binary-bundle.install')
-rw-r--r-- | anki-official-binary-bundle/anki-official-binary-bundle.install | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/anki-official-binary-bundle/anki-official-binary-bundle.install b/anki-official-binary-bundle/anki-official-binary-bundle.install new file mode 100644 index 0000000..e54a631 --- /dev/null +++ b/anki-official-binary-bundle/anki-official-binary-bundle.install | |||
@@ -0,0 +1,9 @@ | |||
1 | post_install () { | ||
2 | xdg-mime install /usr/share/anki/anki.xml --novendor | ||
3 | xdg-mime default /usr/share/applications/anki.desktop application/x-colpkg | ||
4 | xdg-mime default /usr/share/applications/anki.desktop application/x-apkg | ||
5 | } | ||
6 | |||
7 | pre_remove() { | ||
8 | xdg-mime uninstall /usr/share/anki/anki.xml | ||
9 | } | ||