Git-Url: 
http://git.frugalware.org/gitweb/gitweb.cgi?p=frugalware-current.git;a=commitdiff;h=358bca04375968c99fe61035deb8f6e97f1574fd

commit 358bca04375968c99fe61035deb8f6e97f1574fd
Author: bouleetbil <bouleet...@frogdev.info>
Date:   Sun Aug 29 16:01:12 2010 +0200

frugal-mono-tools-0.1-2-i686
*use /var/run instead /tmp

diff --git a/source/xapps-extra/frugal-mono-tools/FrugalBuild 
b/source/xapps-extra/frugal-mono-tools/FrugalBuild
index 1670bd3..159b25a 100644
--- a/source/xapps-extra/frugal-mono-tools/FrugalBuild
+++ b/source/xapps-extra/frugal-mono-tools/FrugalBuild
@@ -3,7 +3,7 @@

pkgname=frugal-mono-tools
pkgver=0.1
-pkgrel=1
+pkgrel=2
url="http://ftp.frugalware.org/pub/other/people/bouleetbil/frugal-mono-tools/";
up2date="Flasttar $url/releases/"
source=($url/releases/$pkgname-$pkgver.tar.gz rc.frugal-mono-tools 
frugal-mono-tools.desktop)
@@ -14,7 +14,7 @@ groups=('xapps-extra')
archs=('i686' 'x86_64' 'ppc')
Finclude mono
sha1sums=('9e145782e7ed8a9e7ce22baedab1ebe4af1a1891' \
-          '2157a2eeb24e2be7d96880d0cfcdb0ca43bfc5cc' \
+          '829adb2917a0d0c3daeec5ccd15de577074b4cbb' \
'f5aedb7148d5eb3c6c2c115e63e8b242045fdc94')

build() {
diff --git a/source/xapps-extra/frugal-mono-tools/rc.frugal-mono-tools 
b/source/xapps-extra/frugal-mono-tools/rc.frugal-mono-tools
index 4d3a28f..a3bacf0 100644
--- a/source/xapps-extra/frugal-mono-tools/rc.frugal-mono-tools
+++ b/source/xapps-extra/frugal-mono-tools/rc.frugal-mono-tools
@@ -18,8 +18,8 @@ rc_start()
{

start_msg
-       if [ ! -f /tmp/ServiceMonoFrugal.exe.lock ]; then
-               exec mono-service2 
"/usr/lib/frugal-mono-tools/ServiceMonoFrugal.exe" &
+       if [ ! -f /var/run/ServiceMonoFrugal.exe.lock ]; then
+               exec mono-service2 -l:/var/run/ServiceMonoFrugal.exe.lock 
"/usr/lib/frugal-mono-tools/ServiceMonoFrugal.exe" &
ok $?
else
ok 999
@@ -30,8 +30,9 @@ rc_start()
rc_stop()
{
stop_msg
-       if [ -f /tmp/ServiceMonoFrugal.exe.lock ] ;then
-               kill `cat /tmp/ServiceMonoFrugal.exe.lock`
+       if [ -f /var/run/ServiceMonoFrugal.exe.lock ] ;then
+               kill `cat /var/run/ServiceMonoFrugal.exe.lock`
+               rm /var/run/ServiceMonoFrugal.exe.lock > /dev/null
ok $?
else
ok 999
_______________________________________________
Frugalware-git mailing list
Frugalware-git@frugalware.org
http://frugalware.org/mailman/listinfo/frugalware-git

Reply via email to