diff options
author | Michiel van Baak Jansen <michiel@vanbaak.eu> | 2024-01-14 18:53:51 +0000 |
---|---|---|
committer | Dries Michiels <driesm@FreeBSD.org> | 2024-01-14 18:59:20 +0000 |
commit | 1b0ddca28636294c59f25602dd71abf215ec9e3b (patch) | |
tree | f42cf4bb5e731028cff3121ea85af7257c512d18 | |
parent | 8f0f611fbb66540f343a197716644d48da8ec372 (diff) | |
download | ports-1b0ddca28636294c59f25602dd71abf215ec9e3b.tar.gz ports-1b0ddca28636294c59f25602dd71abf215ec9e3b.zip |
net-p2p/bazarr: fix finding ffprobe during start
bazazr fails to start with the standard PATH set.
PR: 276280
-rw-r--r-- | net-p2p/bazarr/Makefile | 1 | ||||
-rw-r--r-- | net-p2p/bazarr/files/bazarr.in | 2 |
2 files changed, 3 insertions, 0 deletions
diff --git a/net-p2p/bazarr/Makefile b/net-p2p/bazarr/Makefile index d702bef72b67..6723e700d721 100644 --- a/net-p2p/bazarr/Makefile +++ b/net-p2p/bazarr/Makefile @@ -1,6 +1,7 @@ PORTNAME= bazarr DISTVERSIONPREFIX= v DISTVERSION= 1.4.0 +PORTREVISION= 1 CATEGORIES= net-p2p python MASTER_SITES= https://github.com/morpheus65535/bazarr/releases/download/${DISTVERSIONPREFIX}${DISTVERSION}/ DISTNAME= bazarr diff --git a/net-p2p/bazarr/files/bazarr.in b/net-p2p/bazarr/files/bazarr.in index 0202ec49d196..29710c68d418 100644 --- a/net-p2p/bazarr/files/bazarr.in +++ b/net-p2p/bazarr/files/bazarr.in @@ -34,6 +34,8 @@ start_precmd=bazarr_precmd bazarr_precmd() { + export PATH="/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin" + if [ ! -d ${bazarr_datadir} ]; then install -d -o ${bazarr_user} ${bazarr_datadir} fi |