Git-Url: 
http://git.frugalware.org/gitweb/gitweb.cgi?p=wipv.git;a=commitdiff;h=053865771857ab5a20237751dbc667ab05239c4c

commit 053865771857ab5a20237751dbc667ab05239c4c
Author: bouleetbil <bouleet...@frogdev.info>
Date:   Tue Sep 7 15:14:30 2010 +0000

frugalware-tweak-0.1.6-1-i686
*version bump
*fixes rc script

diff --git a/source/xapps-extra/frugalware-tweak/FrugalBuild 
b/source/xapps-extra/frugalware-tweak/FrugalBuild
index 8e71100..725305a 100644
--- a/source/xapps-extra/frugalware-tweak/FrugalBuild
+++ b/source/xapps-extra/frugalware-tweak/FrugalBuild
@@ -2,7 +2,7 @@
# Maintainer: bouleetbil <bouleet...@frogdev.info>

pkgname=frugalware-tweak
-pkgver=0.1.5
+pkgver=0.1.6
pkgrel=1
url="http://ftp.frugalware.org/pub/other/people/bouleetbil/frugal-tweak/";
up2date="Flasttar $url/releases/"
@@ -15,9 +15,9 @@ options=('scriptlet')
groups=('xapps-extra')
archs=('i686' 'x86_64' 'ppc')
Finclude mono
-sha1sums=('e649752d4a2f024f3a30cb551f20e2564abee908' \
-          '4f9d611a47fab28224263dd1b891f28f756e8b64' \
-          'faccba9ea38b1e781c3b3d9516f81fee78ad356a')
+sha1sums=('0f25c916900e4ab9e65139e97c6e36c00390cbbf' \
+          '3afac5d218a80544159daadf4b8d38135b27b3f5' \
+          'b4cd94622b4ea9dc59bf3169a33fcb183643a663')

replaces=('frugal-mono-tools')
provides=('frugal-mono-tools')
diff --git a/source/xapps-extra/frugalware-tweak/rc.frugalware-tweak 
b/source/xapps-extra/frugalware-tweak/rc.frugalware-tweak
index 3b3fc59..1097fc8 100644
--- a/source/xapps-extra/frugalware-tweak/rc.frugalware-tweak
+++ b/source/xapps-extra/frugalware-tweak/rc.frugalware-tweak
@@ -12,14 +12,14 @@ TEXTDOMAINDIR=/lib/initscripts/messages
source /lib/initscripts/functions
daemon="Frugalware check update"

-actions=(start stop restart)
+actions=(start stop restart status)

rc_start()
{
-
+
start_msg
if [ ! -f /var/run/ServiceMonoFrugal.exe.lock ]; then
-               exec mono-service2 -l:/var/run/ServiceMonoFrugal.exe.lock 
"/usr/lib/frugal-mono-tools/ServiceMonoFrugal.exe" &
+               exec mono-service2 -l:/var/run/ServiceMonoFrugal.exe.lock 
"/usr/lib/frugalware-tweak/ServiceMonoFrugal.exe" &
ok $?
else
ok 999
@@ -39,4 +39,14 @@ rc_stop()
fi
}

+rc_status()
+{
+        msg "$daemon are"
+        if [ -f /var/run/ServiceMonoFrugal.exe.lock ] ;then
+                ok 997
+        else
+                ok 998
+        fi
+}
+
rc_exec $1
_______________________________________________
Frugalware-git mailing list
Frugalware-git@frugalware.org
http://frugalware.org/mailman/listinfo/frugalware-git

Reply via email to