Put correct python interpreter in calibre startup script.
Reported by: Alexander Leidinger <Alexander@leidinger.net>
This commit is contained in:
parent
002d5a3f9c
commit
bf783138c5
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=528869
@ -53,6 +53,7 @@ USES= desktop-file-utils gettext-runtime gl gnome localbase:ldflags \
|
||||
pkgconfig pyqt:5 qt:5 shared-mime-info shebangfix \
|
||||
ssl tar:xz xorg
|
||||
USE_RC_SUBR= calibre
|
||||
SUB_LIST+= PYTHON_VERSION=${PYTHON_VERSION}
|
||||
USE_PYQT= core gui network sip svg webengine widgets xmlpatterns
|
||||
USE_QT= buildtools_build core dbus gui qmake_build widgets
|
||||
USE_GL= egl gl
|
||||
|
@ -46,7 +46,7 @@ load_rc_config $name
|
||||
|
||||
pidfile=/var/run/${name}/${name}.pid
|
||||
command=%%PREFIX%%/bin/calibre-server
|
||||
command_interpreter=%%LOCALBASE%%/bin/python2.7
|
||||
command_interpreter=%%LOCALBASE%%/bin/%%PYTHON_VERSION%%
|
||||
required_dirs=${calibre_library}
|
||||
|
||||
start_precmd=calibre_prestart
|
||||
|
Loading…
Reference in New Issue
Block a user