1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-29 05:38:00 +00:00

net-p2p/bazarr: use LOCALBASE in exporting PATH

Reported by:	jbeich
Approved by:	maintainer (e-mail)
This commit is contained in:
Dries Michiels 2024-03-04 16:15:39 +01:00
parent 76e58290d7
commit d52daad310
2 changed files with 2 additions and 1 deletions

View File

@ -1,6 +1,7 @@
PORTNAME= bazarr
DISTVERSIONPREFIX= v
DISTVERSION= 1.4.2
PORTREVISION= 1
CATEGORIES= net-p2p python
MASTER_SITES= https://github.com/morpheus65535/bazarr/releases/download/${DISTVERSIONPREFIX}${DISTVERSION}/
DISTNAME= bazarr

View File

@ -34,7 +34,7 @@ start_precmd=bazarr_precmd
bazarr_precmd()
{
export PATH="/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin"
export PATH="/sbin:/bin:/usr/sbin:/usr/bin:%%LOCALBASE%%/sbin:%%LOCALBASE%%/bin"
if [ ! -d ${bazarr_datadir} ]; then
install -d -o ${bazarr_user} ${bazarr_datadir}