Actions
Bug #7696
closedScripts in bin folder are not located in any directory specified in $PATH after installation
Start date:
11/27/2023
Due date:
% Done:
0%
Estimated time:
To be discussed:
No
Description
Using setuptools
(keyword scripts
), the scripts available in bin
folder should be executable from the command line [1]. This worked in the past, but nowadays, the new scripts are not located in /usr/local/bin
as before. More specifically, the new links are not created.
Based on the date, this might be related to #7041.
Updated by Rajmund Hruška about 1 year ago
The change indeed happened in #7041 - d54d6881.
The original code in packaging/debian/postinst
:
mentat_bin_list=(
hawat-cli
mentat-backup.py
mentat-cleanup.py
mentat-controller.py
mentat-dbmngr.py
mentat-enricher.py
mentat-hawat.py
mentat-hawat.wsgi
mentat-ideagen.py
mentat-informant.py
mentat-inspector.py
mentat-netmngr.py
mentat-precache.py
mentat-reporter.py
mentat-sampler.py
mentat-statistician.py
mentat-storage.py
)
for b in "${mentat_bin_list[@]}"
do
if [ -f "/usr/local/bin/${b}" ]; then
rm -f "/usr/local/bin/${b}"
fi
if [ ! -L "/usr/local/bin/${b}" ]; then
ln -s "${MENTAT_VENV}/bin/${b}" "/usr/local/bin/${b}"
fi
done
Updated by Rajmund Hruška 6 months ago
- Target version changed from 2.13 to Backlog
Updated by Rajmund Hruška 6 months ago
- Status changed from New to Resolved
- Assignee set to Rajmund Hruška
- Target version changed from Backlog to 2.13.1
Updated by Rajmund Hruška 6 months ago
- Status changed from Resolved to In Review
Actions