Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 13 Jan 2014 16:13:33 +0000 (UTC)
From:      Mark Felder <feld@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r339606 - in head/irc/inspircd: . files
Message-ID:  <201401131613.s0DGDXcV051854@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
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@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
 }
 



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201401131613.s0DGDXcV051854>