All of lore.kernel.org
 help / color / mirror / Atom feed
From: kupcevic@sourceware.org <kupcevic@sourceware.org>
To: cluster-devel.redhat.com
Subject: [Cluster-devel] conga conga.spec.in.in
Date: 27 Jun 2006 21:46:15 -0000	[thread overview]
Message-ID: <20060627214615.2964.qmail@sourceware.org> (raw)

CVSROOT:	/cvs/cluster
Module name:	conga
Changes by:	kupcevic at sourceware.org	2006-06-27 21:46:15

Modified files:
	.              : conga.spec.in.in 

Log message:
	Luci upgrade failure fix

Patches:
http://sourceware.org/cgi-bin/cvsweb.cgi/conga/conga.spec.in.in.diff?cvsroot=cluster&r1=1.9&r2=1.10

--- conga/conga.spec.in.in	2006/06/27 21:15:30	1.9
+++ conga/conga.spec.in.in	2006/06/27 21:46:14	1.10
@@ -146,7 +146,7 @@
 if [ "$LUCI_RUNNING" = "0" ]; then
    /sbin/service luci start >/dev/null 2>$1
 fi
-if [ "$1" = 0 ]; then
+if [ "$1" = "0" ]; then
    /sbin/service luci stop >/dev/null 2>$1
    /sbin/chkconfig --del luci
 fi
@@ -155,6 +155,7 @@
 if [ "$1" -ge "1" ]; then
    /sbin/service luci condrestart > /dev/null 2>&1
 fi
+exit 0
 
 
 
@@ -259,7 +260,7 @@
 fi
 
 %preun -n ricci
-if [ "$1" = 0 ]; then
+if [ "$1" = "0" ]; then
    /sbin/service ricci stop > /dev/null 2>&1
    /sbin/chkconfig --del ricci
 fi
@@ -317,12 +318,12 @@
 RUNS=(`runlevel`)
 RUNLEVEL=${RUNS[1]}
 STATE=`chkconfig --list ricci-modclusterd | sed -e s,.*\\\t$RUNLEVEL:\\\\\(o[nf]f\\\?\\\\\).*,\\\1,`
-if [ $STATE = "on" ]; then
+if [ "$STATE" = "on" ]; then
    /sbin/service ricci-modclusterd restart > /dev/null 2>&1
 fi
 
 %preun -n ricci-modcluster
-if [ "$1" = 0 ]; then
+if [ "$1" = "0" ]; then
    /sbin/service ricci-modclusterd stop > /dev/null 2>&1
    /sbin/chkconfig --del ricci-modclusterd
 fi



             reply	other threads:[~2006-06-27 21:46 UTC|newest]

Thread overview: 58+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-06-27 21:46 kupcevic [this message]
  -- strict thread matches above, loose matches on Subject: below --
2006-06-28 21:42 [Cluster-devel] conga conga.spec.in.in kupcevic
2006-06-30 22:12 kupcevic
2006-07-05 22:08 kupcevic
2006-07-17 22:57 kupcevic
2006-07-25 21:00 kupcevic
2006-08-18 13:59 kupcevic
2006-08-18 20:10 kupcevic
2006-08-21 23:22 kupcevic
2006-11-15 18:07 rmccabe
2006-11-16 18:23 rmccabe
2006-12-06 23:03 rmccabe
2006-12-11 23:52 rmccabe
2006-12-12  5:21 rmccabe
2006-12-12 13:58 kupcevic
2006-12-13 23:58 rmccabe
2006-12-14 18:28 rmccabe
2006-12-22 18:00 rmccabe
2006-12-22 18:01 rmccabe
2006-12-22 18:04 rmccabe
2006-12-22 18:06 rmccabe
2007-01-10 23:51 rmccabe
2007-01-10 23:52 rmccabe
2007-01-17 16:38 kupcevic
2007-02-16 15:54 rmccabe
2007-02-16 15:55 rmccabe
2007-03-01  1:02 rmccabe
2007-03-20 16:38 kupcevic
2007-03-20 17:01 kupcevic
2007-03-20 17:26 rmccabe
2007-03-20 17:38 rmccabe
2007-03-20 17:39 rmccabe
2007-03-27  2:17 rmccabe
2007-03-27  2:20 rmccabe
2007-03-30 14:48 kupcevic
2007-04-10 19:51 rmccabe
2007-04-30 18:34 rmccabe
2007-06-18 19:06 rmccabe
2007-06-26 21:41 rmccabe
2007-06-29 15:58 rmccabe
2007-07-16 22:18 rmccabe
2007-08-09 22:37 rmccabe
2007-08-11  4:22 rmccabe
2007-08-11  4:23 rmccabe
2007-08-27 18:42 rmccabe
2007-08-29  1:02 rmccabe
2007-10-09 20:57 rmccabe
2008-01-22 15:20 rmccabe
2008-01-23  4:57 rmccabe
2008-01-23  5:20 rmccabe
2008-03-19 14:59 rmccabe
2008-04-18  3:28 rmccabe
2008-05-16 17:08 rmccabe
2008-05-16 17:10 rmccabe
2008-05-16 17:11 rmccabe
2008-06-13 18:38 rmccabe
2008-06-13 18:39 rmccabe
2008-09-23 17:34 rmccabe

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20060627214615.2964.qmail@sourceware.org \
    --to=kupcevic@sourceware.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.