Overview

Request 328 (accepted)

Do not assume that the dir for the pid file already exists. Under openSUSE 12.2 upgraded from 12.1 it did not.

Submit package home:rlang:branches:Multimedia / mediatomb to package Multimedia / mediatomb

mediatomb.changes Changed
x
 
1
@@ -1,4 +1,9 @@
2
 -------------------------------------------------------------------
3
+Mon Dec 10 17:54:44 UTC 2012 - lang@b1-systems.de
4
+
5
+- openSUSE 12.2 compat: Do not assume the dir for the pid file just exists
6
+
7
+-------------------------------------------------------------------
8
 Fri Nov  9 00:26:26 UTC 2012 - i@margueirte.su
9
 
10
 - fix libjs dependency.
11
rcmediatomb Changed
9
 
1
@@ -48,6 +48,7 @@
2
 PATH="$PATH:/usr/bin:/usr/local/bin"
3
 
4
 IFACE_IP=`ifconfig | grep -i "$MT_INTERFACE" -A 1|grep "inet addr"|cut -d " " -f 12|cut -d ":" -f 2`
5
+[ -d /var/lock/subsys/ ] || mkdir -p /var/lock/subsys/
6
 
7
 # By default it's all good
8
 RETVAL=0
9
Refresh
Refresh
Request History
Ralf Lang's avatar

rlang created request over 11 years ago

Do not assume that the dir for the pid file already exists. Under openSUSE 12.2 upgraded from 12.1 it did not.


Stefan Seyfried's avatar

seife accepted request about 12 years ago

looks good, thanks