[Pkg-ocaml-maint-commits] r2987 - in
/trunk/packages/mldonkey/trunk/debian: changelog
mldonkey-server.postinst mldonkey-server.prerm
smimram at users.alioth.debian.org
smimram at users.alioth.debian.org
Mon Jul 24 17:26:43 UTC 2006
Author: smimram
Date: Mon Jul 24 17:26:42 2006
New Revision: 2987
URL: http://svn.debian.org/wsvn/pkg-ocaml-maint/?sc=1&rev=2987
Log:
Use POSIX way of defining functions for init_error.
Modified:
trunk/packages/mldonkey/trunk/debian/changelog
trunk/packages/mldonkey/trunk/debian/mldonkey-server.postinst
trunk/packages/mldonkey/trunk/debian/mldonkey-server.prerm
Modified: trunk/packages/mldonkey/trunk/debian/changelog
URL: http://svn.debian.org/wsvn/pkg-ocaml-maint/trunk/packages/mldonkey/trunk/debian/changelog?rev=2987&op=diff
==============================================================================
--- trunk/packages/mldonkey/trunk/debian/changelog (original)
+++ trunk/packages/mldonkey/trunk/debian/changelog Mon Jul 24 17:26:42 2006
@@ -1,3 +1,9 @@
+mldonkey (2.7.7-6) unstable; urgency=low
+
+ * Use POSIX way of defining functions for init_error, closes: #379142.
+
+ -- Samuel Mimram <smimram at debian.org> Mon, 24 Jul 2006 17:22:40 +0000
+
mldonkey (2.7.7-5) unstable; urgency=low
* Retry to stop the deamon with the --oknodo option of start-stop-daemon if
Modified: trunk/packages/mldonkey/trunk/debian/mldonkey-server.postinst
URL: http://svn.debian.org/wsvn/pkg-ocaml-maint/trunk/packages/mldonkey/trunk/debian/mldonkey-server.postinst?rev=2987&op=diff
==============================================================================
--- trunk/packages/mldonkey/trunk/debian/mldonkey-server.postinst (original)
+++ trunk/packages/mldonkey/trunk/debian/mldonkey-server.postinst Mon Jul 24 17:26:42 2006
@@ -1,6 +1,6 @@
#!/bin/sh -e
-function init_error
+init_error ()
{
exit 1
}
Modified: trunk/packages/mldonkey/trunk/debian/mldonkey-server.prerm
URL: http://svn.debian.org/wsvn/pkg-ocaml-maint/trunk/packages/mldonkey/trunk/debian/mldonkey-server.prerm?rev=2987&op=diff
==============================================================================
--- trunk/packages/mldonkey/trunk/debian/mldonkey-server.prerm (original)
+++ trunk/packages/mldonkey/trunk/debian/mldonkey-server.prerm Mon Jul 24 17:26:42 2006
@@ -2,7 +2,7 @@
# Workaround bug in previous versions of the init.d script (--oknodo was
# missing), see: #378934.
-function init_error
+init_error ()
{
echo "Retrying to stop daemon with oknodo."
start-stop-daemon --stop --oknodo --pidfile /var/run/mldonkey/mlnet.pid
More information about the Pkg-ocaml-maint-commits
mailing list