diff --git a/Makefile b/Makefile index ecc2910bc..3e0d2a30d 100644 --- a/Makefile +++ b/Makefile @@ -10,7 +10,7 @@ install: mkdir -p ${DESTDIR}${PREFIX}/share/anki cp -av * ${DESTDIR}${PREFIX}/share/anki/ cd ${DESTDIR}${PREFIX}/share/anki && (\ - mv runanki ${DESTDIR}${PREFIX}/local/bin/anki;\ + mv tools/runanki.system ${DESTDIR}${PREFIX}/local/bin/anki;\ test -d ${DESTDIR}${PREFIX}/share/pixmaps &&\ mv anki.xpm anki.png ${DESTDIR}${PREFIX}/share/pixmaps/;\ mv anki.desktop ${DESTDIR}${PREFIX}/share/applications;\ diff --git a/tools/runanki.system b/tools/runanki.system new file mode 100755 index 000000000..786f6693e --- /dev/null +++ b/tools/runanki.system @@ -0,0 +1,7 @@ +#!/usr/bin/env python3 + +import sys +sys.path.append("/usr/share/anki") + +import aqt +aqt.run()