Bug 243060 - news/nzbget Startup Not Getting full PATH info
Summary: news/nzbget Startup Not Getting full PATH info
Status: New
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: --- Affects Only Me
Assignee: freebsd-ports-bugs (Nobody)
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2020-01-03 14:55 UTC by sgerlach+bugz
Modified: 2020-01-03 14:55 UTC (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description sgerlach+bugz 2020-01-03 14:55:55 UTC
When installing the news/nzbget port, the rc.d script (sh script) does not include the bin directories for /usr/local/{s}bin. This causes some alternatively loaded tools to fail (git for instance) when called from nzbget or scripts called by nzbget. I have solved locally by adding the following into the rc script.

export PATH=/usr/local/bin:/usr/local/sbin:$PATH

Just making sure this is, 1) The correct way. 2) Indeed viewed as a bug.

Thanks!