From 280e43e06413774d8d9d523d781aa6ad7804599f Mon Sep 17 00:00:00 2001
From: James Meyer <james.meyer@operamail.com>
Date: Sat, 29 Aug 2009 11:49:48 -0500
Subject: runit-scripts-mv: make the log dir for certmaster

---
 abs/mv-core/runit-scripts-mv/PKGBUILD                             | 2 +-
 abs/mv-core/runit-scripts-mv/runitscripts/services/certmaster/run | 4 ++++
 2 files changed, 5 insertions(+), 1 deletion(-)

diff --git a/abs/mv-core/runit-scripts-mv/PKGBUILD b/abs/mv-core/runit-scripts-mv/PKGBUILD
index d4e8dc3..0d248a8 100755
--- a/abs/mv-core/runit-scripts-mv/PKGBUILD
+++ b/abs/mv-core/runit-scripts-mv/PKGBUILD
@@ -1,6 +1,6 @@
 pkgname=runit-scripts
 pkgver=1.8.0
-pkgrel=301
+pkgrel=302
 pkgdesc="collection of startup scripts for runit"
 url="http://smarden.org/runit/"
 license="BSD"
diff --git a/abs/mv-core/runit-scripts-mv/runitscripts/services/certmaster/run b/abs/mv-core/runit-scripts-mv/runitscripts/services/certmaster/run
index 0b0acd1..6f95abd 100755
--- a/abs/mv-core/runit-scripts-mv/runitscripts/services/certmaster/run
+++ b/abs/mv-core/runit-scripts-mv/runitscripts/services/certmaster/run
@@ -2,4 +2,8 @@
 export TERM=linux
 . /etc/rc.conf
 . /etc/rc.d/functions
+if [ ! -e /var/log/certmaster ]
+then
+     mkdir -p /var/log/certmaster
+fi
 exec  /usr/bin/certmaster
-- 
cgit v0.12