[Pkg-xmpp-commits] [SCM] Jabber MUC (Multi User Chat) branch, master, updated. f917df5ca0fd15682cededb4d8f4662d122915cc
W. van den Akker
wvdakker at wilsoft.nl
Fri May 17 17:53:49 UTC 2013
The following commit has been merged in the master branch:
commit d04880753cafec22b2df5069eb556348ac261e43
Author: W. van den Akker <wvdakker at wilsoft.nl>
Date: Fri May 17 19:29:43 2013 +0200
Make debian/component.d/* less bashish.
diff --git a/debian/changelog b/debian/changelog
index 5815323..21bbd3e 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,3 +1,9 @@
+jabber-muc (0.8-6) UNRELEASED; urgency=low
+
+ * Make debian/component.d/* less bashish.
+
+ -- Willem van den Akker <wvdakker at wilsoft.nl> Fri, 17 May 2013 19:27:19 +0200
+
jabber-muc (0.8-5) unstable; urgency=low
* debian/control: modified the VCS-Browser field (removed ;a=summary).
diff --git a/debian/component.d/60muc b/debian/component.d/60muc
index 7c0fa2d..7eff79e 100755
--- a/debian/component.d/60muc
+++ b/debian/component.d/60muc
@@ -23,36 +23,36 @@ test -f ${COMMAND} || exit 0
case "$1" in
start)
- echo -n " ${NAME}"
- if [ ! `pidof ${COMMAND}` ]; then
- start-stop-daemon -b -c ${USER}:${GROUP} \
- --start --pidfile ${PIDFILE} --quiet \
- --exec ${COMMAND} -- -c ${CONFFILE} || echo -n "<Failed>"
- fi
+ printf " ${NAME}"
+ if [ ! `pidof ${COMMAND}` ]; then
+ start-stop-daemon -b -c ${USER}:${GROUP} \
+ --start --pidfile ${PIDFILE} --quiet \
+ --exec ${COMMAND} -- -c ${CONFFILE} || printf "<Failed>"
+ fi
;;
stop)
- echo -n " ${NAME}"
- start-stop-daemon -o -u ${USER} --stop --quiet \
- --signal 15 --retry 3 --pidfile ${PIDFILE} \
- --exec ${COMMAND} || echo -n "<Failed>"
+ printf " ${NAME}"
+ start-stop-daemon -o -u ${USER} --stop --quiet \
+ --signal 15 --retry 3 --pidfile ${PIDFILE} \
+ --exec ${COMMAND} || printf "<Failed>"
;;
status)
- echo -n "${NAME}"
- if [ `pidof ${COMMAND}` ]; then
- echo " running"
- else
- echo " not running"
- fi
+ printf "${NAME}"
+ if [ `pidof ${COMMAND}` ]; then
+ printf " running"
+ else
+ printf " not running"
+ fi
;;
restart)
- $0 stop
- sleep 1
- $0 start
- ;;
+ $0 stop
+ sleep 1
+ $0 start
+ ;;
*)
- echo "`basename $0` called with unknown option {$1}"
- exit 1
- ;;
+ printf "`basename $0` called with unknown option {$1}\n"
+ exit 1
+ ;;
esac
exit 0
--
Jabber MUC (Multi User Chat)
More information about the Pkg-xmpp-commits
mailing list