1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-18 00:10:04 +00:00

net-p2p/bazarr: fix finding ffprobe during start

bazazr fails to start with the standard PATH set.

PR:	276280
This commit is contained in:
Michiel van Baak Jansen 2024-01-14 19:53:51 +01:00 committed by Dries Michiels
parent 8f0f611fbb
commit 1b0ddca286
2 changed files with 3 additions and 0 deletions

View File

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

View File

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