svn commit: r339607 - in branches/2014Q1/irc/inspircd: . files

Mark Felder feld at FreeBSD.org
Mon Jan 13 16:19:54 UTC 2014


Author: feld
Date: Mon Jan 13 16:19:53 2014
New Revision: 339607
URL: http://svnweb.freebsd.org/changeset/ports/339607

Log:
  MFH: r339606
  
  Fix creation of directories in rc script
  
  Submitted by:	gizd
  Approved by:	portmgr-lurkers (mat)

Modified:
  branches/2014Q1/irc/inspircd/Makefile
  branches/2014Q1/irc/inspircd/files/inspircd.in
Directory Properties:
  branches/2014Q1/   (props changed)

Modified: branches/2014Q1/irc/inspircd/Makefile
==============================================================================
--- branches/2014Q1/irc/inspircd/Makefile	Mon Jan 13 16:13:33 2014	(r339606)
+++ branches/2014Q1/irc/inspircd/Makefile	Mon Jan 13 16:19:53 2014	(r339607)
@@ -3,6 +3,7 @@
 
 PORTNAME=	inspircd
 PORTVERSION=	2.0.14
+PORTREVISION=	1
 CATEGORIES=	irc
 
 MAINTAINER=	feld at FreeBSD.org

Modified: branches/2014Q1/irc/inspircd/files/inspircd.in
==============================================================================
--- branches/2014Q1/irc/inspircd/files/inspircd.in	Mon Jan 13 16:13:33 2014	(r339606)
+++ branches/2014Q1/irc/inspircd/files/inspircd.in	Mon Jan 13 16:19:53 2014	(r339607)
@@ -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