nathanielwarner / flightgear-photoscenery

FlightGear - PhotoScenery Edition
GNU General Public License v2.0
19 stars 6 forks source link

`create_bbox.pl`: `creator.py` is expected to be in current working directory; can it made be searched in the `$PATH`? #10

Closed dreirund closed 3 years ago

dreirund commented 3 years ago

create_bbox.pl assumes creator.py to be in the current working directory.

I am making an Arch Linux package, and thus I install the scripts int /usr/bin.

It would be nice it the scripts are searched for in the $PATH, or, if even their location and name can be provided by command line options (I do not want to call it creator.py, i.e. I want to omit the .py, and I also would like to call it something more specific like fgfs-photoscenery-creator when I install it into /usr/bin/.)

dreirund commented 3 years ago

I recognised that this is nothing upstream should handle. Packaging should install in a proper directory, e.g. /usr/lib/flightgear-photoscenery-creator/ and provide wrapper-scripts to /usr/bin/.