mirror of
https://github.com/naruxde/revpicommander.git
synced 2025-11-08 16:43:53 +01:00
feat: Change entrypoint name
This will update the alternative shell script as well. It will now just pass the modules directory to python interpreter to execute the __main__ module. Signed-off-by: Sven Sager <akira@narux.de>
This commit is contained in:
@@ -1,9 +1,7 @@
|
|||||||
#!/bin/sh
|
#!/bin/sh
|
||||||
# Used to call the entry point, if packed with pybuild as application.
|
# This script will create the entry point 'revpicommander', which is defined
|
||||||
# PYBUILD_INSTALL_ARGS=--install-lib=/usr/share/revpicommander/ \
|
# in the setup.py script. If you want to install this python module as an
|
||||||
# --install-scripts=/usr/share/revpicommander/
|
# application and not in the python standard library directory, you will need
|
||||||
#
|
# to use this script for /usr/bin.
|
||||||
# In that case the entry point will not find the revpicommander module in
|
|
||||||
# the python lib.
|
|
||||||
|
|
||||||
exec "/usr/share/revpicommander/revpicommander-gui" "$@"
|
exec python3 /usr/share/revpicommander/revpicommander "$@"
|
||||||
|
|||||||
Reference in New Issue
Block a user