diff options
author | rakuco <rakuco@FreeBSD.org> | 2016-02-16 01:00:47 +0800 |
---|---|---|
committer | rakuco <rakuco@FreeBSD.org> | 2016-02-16 01:00:47 +0800 |
commit | 772bf80e55f06fccf1aa9b1618d6b52483e08a94 (patch) | |
tree | 4ddb5e617bf130bf90012eef6c9ddf3e3c3127f0 /news | |
parent | 2c63eb46ec537be5b1d8ee38b5bcbe859729ed2c (diff) | |
download | freebsd-ports-gnome-772bf80e55f06fccf1aa9b1618d6b52483e08a94.tar.gz freebsd-ports-gnome-772bf80e55f06fccf1aa9b1618d6b52483e08a94.tar.zst freebsd-ports-gnome-772bf80e55f06fccf1aa9b1618d6b52483e08a94.zip |
Set `command' before using it in the startup script.
This fixes the status command which was returning "eval: -L: not found"
before.
PR: 206722
Submitted by: dburkland@dburkland.com (first version),
Toxic <toxic@doobie.com> (maintainer)
MFH: 2016Q1
Diffstat (limited to 'news')
-rw-r--r-- | news/nzbget/Makefile | 1 | ||||
-rw-r--r-- | news/nzbget/files/nzbget.in | 2 |
2 files changed, 2 insertions, 1 deletions
diff --git a/news/nzbget/Makefile b/news/nzbget/Makefile index 3a3044a99515..003a78235b7f 100644 --- a/news/nzbget/Makefile +++ b/news/nzbget/Makefile @@ -3,6 +3,7 @@ PORTNAME= nzbget PORTVERSION= 16.4 +PORTREVISION= 1 DISTVERSIONPREFIX= v CATEGORIES= news diff --git a/news/nzbget/files/nzbget.in b/news/nzbget/files/nzbget.in index d8b4db4f7bec..bf746335380d 100644 --- a/news/nzbget/files/nzbget.in +++ b/news/nzbget/files/nzbget.in @@ -20,10 +20,10 @@ load_rc_config ${name} : ${nzbget_enable:=NO} +command=%%PREFIX%%/bin/nzbget start_cmd="${name}_start" status_cmd="${command} -L S" stop_cmd="${name}_stop" -command=%%PREFIX%%/bin/nzbget nzbget_start() { |