[PKG-IRC-Maintainers] Bug#471287: FIX: atheme-services: bashism in /bin/sh script
Leonardo Rodrigues de Mello
l at lmello.eu.org
Tue Apr 29 11:49:59 UTC 2008
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Here is one patch to solve the bashism in this package.
- --- init.d.orig 2008-04-29 09:01:26.000000000 -0300
+++ init.d 2008-04-29 09:01:04.000000000 -0300
@@ -31,9 +31,9 @@
case "$1" in
start)
if [ "$ENABLED" = "1" ]; then
- - echo -n "Starting $DESC: $NAME"
+ echo "Starting $DESC: $NAME\c"
if [ -f "/var/run/atheme/atheme.pid" ]; then
- - echo -n "Already running!"
+ echo "Already running!\c"
else
start-stop-daemon -u irc -c irc --start --quiet --pidfile
/var/run/atheme/atheme.pid \
--exec $DAEMON -- $DAEMON_OPTS
@@ -43,7 +43,7 @@
;;
stop)
if [ "$ENABLED" = "1" ]; then
- - echo -n "Stopping $DESC: $NAME"
+ echo "Stopping $DESC: $NAME\c"
if [ -f "/var/run/atheme/atheme.pid" ]; then
start-stop-daemon --stop --quiet --pidfile /var/run/atheme/atheme.pid \
--exec $DAEMON --signal 15
@@ -64,7 +64,7 @@
;;
restart)
if [ "$ENABLED" = "1" ]; then
- - echo -n "Restarting $DESC: $NAME"
+ echo "Restarting $DESC: $NAME\c"
if [ -f "/var/run/atheme/atheme.pid" ]; then
start-stop-daemon --stop --quiet --pidfile \
/var/run/atheme/atheme.pid --exec $DAEMON --signal 15
- --
Leonardo Rodrigues de Mello
jabber: l at lmello.eu.org
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.6 (GNU/Linux)
Comment: http://getfiregpg.org
iD8DBQFIFwwTLsy/JSmhVFURAhwbAJ0TdUVhImAUW7AQCL/8bEqH1VgA8ACfVNa0
wzehmtBSiI5Pg/1fWF48qMw=
=FmhI
-----END PGP SIGNATURE-----
More information about the Pkg-irc-maintainers
mailing list