svn commit: r339606 - in head/irc/inspircd: . files
Mark Felder
feld at FreeBSD.org
Mon Jan 13 16:13:34 UTC 2014
Author: feld
Date: Mon Jan 13 16:13:33 2014
New Revision: 339606
URL: http://svnweb.freebsd.org/changeset/ports/339606
Log:
Fix creation of directories in rc script
Submitted by: gizd
Approved by: crees (mentor)
MFH: 2014Q1
Modified:
head/irc/inspircd/Makefile
head/irc/inspircd/files/inspircd.in
Modified: head/irc/inspircd/Makefile
==============================================================================
--- head/irc/inspircd/Makefile Mon Jan 13 16:13:20 2014 (r339605)
+++ head/irc/inspircd/Makefile Mon Jan 13 16:13:33 2014 (r339606)
@@ -3,6 +3,7 @@
PORTNAME= inspircd
PORTVERSION= 2.0.14
+PORTREVISION= 1
CATEGORIES= irc
MAINTAINER= feld at FreeBSD.org
Modified: head/irc/inspircd/files/inspircd.in
==============================================================================
--- head/irc/inspircd/files/inspircd.in Mon Jan 13 16:13:20 2014 (r339605)
+++ head/irc/inspircd/files/inspircd.in Mon Jan 13 16:13:33 2014 (r339606)
@@ -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
}
More information about the svn-ports-all
mailing list