mirror of
https://github.com/ankitects/anki.git
synced 2025-09-18 14:02:21 -04:00

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.
7 lines
96 B
Python
Executable file
7 lines
96 B
Python
Executable file
#!/usr/bin/env python3
|
|
|
|
import sys
|
|
sys.path.append("@PREFIX@/share/anki")
|
|
|
|
import aqt
|
|
aqt.run()
|