mirror of
https://git.FreeBSD.org/ports.git
synced 2024-10-20 20:09:11 +00:00
Fix creation of directories in rc script
Submitted by: gizd Approved by: crees (mentor) MFH: 2014Q1
This commit is contained in:
parent
79b0968a4b
commit
b6dca3abd2
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=339606
@ -3,6 +3,7 @@
|
||||
|
||||
PORTNAME= inspircd
|
||||
PORTVERSION= 2.0.14
|
||||
PORTREVISION= 1
|
||||
CATEGORIES= irc
|
||||
|
||||
MAINTAINER= feld@FreeBSD.org
|
||||
|
@ -47,11 +47,11 @@ inspircd_prestart()
|
||||
{
|
||||
piddir=$(dirname ${inspircd_pidfile})
|
||||
if [ ! -d ${piddir} ]; then
|
||||
install -m 755 -o ${inspircd_user} -g ${inspircd_group} ${piddir}
|
||||
install -d -m 755 -o ${inspircd_user} -g ${inspircd_group} ${piddir}
|
||||
fi
|
||||
logdir=$(dirname ${inspircd_logfile})
|
||||
if [ ! -d ${logdir} ]; then
|
||||
install -m 755 -o ${inspircd_user} -g ${inspircd_group} ${logdir}
|
||||
install -d -m 755 -o ${inspircd_user} -g ${inspircd_group} ${logdir}
|
||||
fi
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user