diff options
author | feld <feld@FreeBSD.org> | 2016-03-10 00:59:18 +0800 |
---|---|---|
committer | feld <feld@FreeBSD.org> | 2016-03-10 00:59:18 +0800 |
commit | cbe7e45494757979bbc3942c7222f4d86654f9f0 (patch) | |
tree | baf4ab99cb5f231de81940a660db0e1bf0100e15 /news | |
parent | 50bf2236e4cca0185ed773c834cfc8890c1efbd3 (diff) | |
download | freebsd-ports-gnome-cbe7e45494757979bbc3942c7222f4d86654f9f0.tar.gz freebsd-ports-gnome-cbe7e45494757979bbc3942c7222f4d86654f9f0.tar.zst freebsd-ports-gnome-cbe7e45494757979bbc3942c7222f4d86654f9f0.zip |
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
Diffstat (limited to 'news')
-rw-r--r-- | news/sabnzbdplus/Makefile | 2 | ||||
-rw-r--r-- | news/sabnzbdplus/files/sabnzbd.in | 1 |
2 files changed, 2 insertions, 1 deletions
diff --git a/news/sabnzbdplus/Makefile b/news/sabnzbdplus/Makefile index 7fddbdd7f286..e6c5ffdd3e9f 100644 --- a/news/sabnzbdplus/Makefile +++ b/news/sabnzbdplus/Makefile @@ -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 diff --git a/news/sabnzbdplus/files/sabnzbd.in b/news/sabnzbdplus/files/sabnzbd.in index 37625ffa54f8..3052e02300b5 100644 --- a/news/sabnzbdplus/files/sabnzbd.in +++ b/news/sabnzbdplus/files/sabnzbd.in @@ -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} |