summaryrefslogtreecommitdiffstats
path: root/anki-official-binary-bundle.install
diff options
context:
space:
mode:
authorKuklin István2019-03-04 09:14:01 +0100
committerKuklin István2019-03-04 09:44:14 +0100
commit452f5544c43a2417efc5a8a792e3cd493debcc22 (patch)
treef7f2ba6cd8518b0cc0fcb4b70cb31905c09f3915 /anki-official-binary-bundle.install
downloadpackages-452f5544c43a2417efc5a8a792e3cd493debcc22.tar.gz
packages-452f5544c43a2417efc5a8a792e3cd493debcc22.tar.bz2
packages-452f5544c43a2417efc5a8a792e3cd493debcc22.zip
It works!
Mandatory fields, .SRCINFO
Diffstat (limited to 'anki-official-binary-bundle.install')
-rw-r--r--anki-official-binary-bundle.install9
1 files changed, 9 insertions, 0 deletions
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 @@
1post_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
7pre_remove() {
8 xdg-mime uninstall /usr/share/anki/anki.xml
9}