mirror of
https://git.freebsd.org/ports.git
synced 2025-04-28 01:26:39 -04:00
net-p2p/lidarr: use LOCALBASE in exporting PATH
Reported by: jbeich Approved by: maintainer (e-mail)
This commit is contained in:
parent
d52daad310
commit
2e3d3209da
2 changed files with 2 additions and 1 deletions
|
@ -1,5 +1,6 @@
|
|||
PORTNAME= lidarr
|
||||
DISTVERSION= 2.1.7.4030
|
||||
PORTREVISION= 1
|
||||
CATEGORIES= net-p2p
|
||||
MASTER_SITES= https://github.com/lidarr/Lidarr/releases/download/v${PORTVERSION}/
|
||||
DISTNAME= Lidarr.master.${DISTVERSION}.freebsd-core-x64
|
||||
|
|
|
@ -33,7 +33,7 @@ command="/usr/sbin/daemon"
|
|||
|
||||
start_precmd=${name}_precmd
|
||||
%%PORTNAME%%_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 ${%%PORTNAME%%_data_dir} ]; then
|
||||
install -d -o ${%%PORTNAME%%_user} -g ${%%PORTNAME%%_group} ${%%PORTNAME%%_data_dir}
|
||||
|
|
Loading…
Add table
Reference in a new issue