conga conga.spec.in.in
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.spec.in.in +5 -4
@@ -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