summaryrefslogtreecommitdiff
path: root/pcr-testing/anki-ccbc/anki-ccbc.install
blob: 8fd036a16a2cf9a6b62be500a4e702f2f8ff7d5e (plain)
1
2
3
4
5
6
7
8
9
10
11
post_install()
{
  xdg-mime install /usr/share/anki-ccbc/anki.xml --novendor
  xdg-mime default /usr/share/applications/anki-ccbc.desktop application/x-anki
  xdg-mime default /usr/share/applications/anki-ccbc.desktop application/x-apkg
}

pre_remove()
{
  xdg-mime uninstall /usr/share/mime/packages/anki.xml
}