summaryrefslogtreecommitdiffstats
path: root/anki-official-binary-bundle/anki-official-binary-bundle.install
blob: e54a6311bbd6f805054c276678a5f09de3b7a6ba (plain)
1
2
3
4
5
6
7
8
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
}