> Od: Matthew Palmer <firstname.lastname@example.org>
JM> > I did it, but it breaks functionality ... there exist also symlinks
JM> > with same name and in same location.
JM> > usr/bin/lv2rack
JM> > usr/bin/zynjacku
JM> > usr/bin/zynspect
JM> > ------
JM> > usr/bin/lv2rack.py
JM> > usr/bin/zynjacku.py
JM> > usr/bin/zynspect.py
CLJ> > Hmmm what about remove these symlink first and then remove suffix?
CLJ> > I am going to try it.
CLJ> How about just mv /usr/bin/lv2rack.py /usr/bin/lv2rack and so on?
JM> nice solution ... but there is anyway something broken.
JM> This package actually contains two commands you can call from CLI zynjacku
JM> and lv2rack.
JM> When I remove ".py" suffixes lv2rack stop works ... zynjacku is fine.
JM> Without removing ".py" suffixes both work fine.
JM> I have to investigate it more.
JM> > BTW: error message for lv2rack is:
JM> > -------
JM> > $ lv2rack
JM> > Traceback (most recent call last):
JM> > File "/usr/bin/lv2rack", line 52, in <module>
JM> > import zynjacku as zynjacku
JM> > ------
MP> So someone's using a single file as both a library and a stand-alone
MP> program. Damned silly idea. Stick zynjacku.py in a proper library path
MP> somewhere, and write a little shim wrapper to stick in /usr/bin that calls
MP> zynjacku as it expects to be called.
Do you know any package using "shim wrapper"?
It would be good starting point for learning this method.