mirror of
https://git.FreeBSD.org/ports.git
synced 2024-11-26 00:55:14 +00:00
news/sabnzbdplus: Revert removal of PATH in rc script
There were reports of fallout so this has been reverted. It is not understood why an explicit PATH needs to be set. In testing without it the correct PATH appears to be exported during the start_precmd routine. PR: 207583 Approved by: maintainer
This commit is contained in:
parent
141a25e582
commit
70068ea300
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=410708
@ -2,7 +2,7 @@
|
||||
|
||||
PORTNAME= sabnzbdplus
|
||||
PORTVERSION= 0.7.20
|
||||
PORTREVISION= 1
|
||||
PORTREVISION= 2
|
||||
CATEGORIES= news
|
||||
MASTER_SITES= SF/${PORTNAME}/${PORTNAME}/${PORTVERSION}
|
||||
DISTNAME= SABnzbd-${PORTVERSION}-src
|
||||
|
@ -46,6 +46,7 @@ command_args="--daemon -f ${sabnzbd_conf_dir}/sabnzbd.ini --pidfile ${pidfile}"
|
||||
|
||||
sabnzbd_prestart()
|
||||
{
|
||||
PATH=${PATH}:%%PREFIX%%/bin:%%PREFIX%%/sbin
|
||||
for sabdir in ${sabnzbd_conf_dir} ${pidfile%/*}; do
|
||||
if [ ! -d "${sabdir}" ]; then
|
||||
install -d -o ${sabnzbd_user} -g ${sabnzbd_group} ${sabdir}
|
||||
|
Loading…
Reference in New Issue
Block a user