1
0
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:
Mark Felder 2016-03-09 16:59:18 +00:00
parent 141a25e582
commit 70068ea300
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=410708
2 changed files with 2 additions and 1 deletions

View File

@ -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

View File

@ -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}