diff options
author | Yigit Sever | 2023-06-22 16:21:31 +0300 |
---|---|---|
committer | Yigit Sever | 2023-06-22 16:21:31 +0300 |
commit | 972a5f43efec8469c5958b1d1ad243e045b8207d (patch) | |
tree | d780c0815a7d2072c8b4161cc83f63db3c60d050 /anki-official-binary-bundle/anki-official-binary-bundle.install | |
parent | 0e211b1fd4030cb7cf8563daa9f447b081fbd458 (diff) | |
parent | 856cf628225ecfbdb0ceb5dd0e8ce741d43799db (diff) | |
download | packages-972a5f43efec8469c5958b1d1ad243e045b8207d.tar.gz packages-972a5f43efec8469c5958b1d1ad243e045b8207d.tar.bz2 packages-972a5f43efec8469c5958b1d1ad243e045b8207d.zip |
Add 'anki-official-binary-bundle/' from commit '856cf628225ecfbdb0ceb5dd0e8ce741d43799db'
git-subtree-dir: anki-official-binary-bundle
git-subtree-mainline: 0e211b1fd4030cb7cf8563daa9f447b081fbd458
git-subtree-split: 856cf628225ecfbdb0ceb5dd0e8ce741d43799db
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 | } | ||