diff options
author | Kuklin István | 2019-03-04 09:14:01 +0100 |
---|---|---|
committer | Kuklin István | 2019-03-04 09:44:14 +0100 |
commit | 452f5544c43a2417efc5a8a792e3cd493debcc22 (patch) | |
tree | f7f2ba6cd8518b0cc0fcb4b70cb31905c09f3915 /anki-official-binary-bundle.install | |
download | packages-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.install | 9 |
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 @@ | |||
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 | } | ||