anki/tools/runanki.system.in
Daniel Drake 4cee3807ff runanki.system: fix prefix at install time
Currently the Makefile lets you choose your own PREFIX, but
the installed runanki.system always hardcodes the prefix as /usr.

Fix runanki.system at install time to install into the designated
PREFIX.
2018-03-08 23:22:41 -06:00

8 lines
96 B
Python
Executable File

#!/usr/bin/env python3
import sys
sys.path.append("@PREFIX@/share/anki")
import aqt
aqt.run()