[Pkg-erlang-commits] r1644 - erlang/trunk/debian
sgolovan at alioth.debian.org
sgolovan at alioth.debian.org
Mon Jul 7 04:24:58 UTC 2014
Author: sgolovan
Date: 2014-07-07 04:24:58 +0000 (Mon, 07 Jul 2014)
New Revision: 1644
Modified:
erlang/trunk/debian/changelog
erlang/trunk/debian/erlang-base-hipe.postinst
erlang/trunk/debian/erlang-base-hipe.prerm
erlang/trunk/debian/erlang-base.postinst
erlang/trunk/debian/erlang-base.prerm
Log:
[erlang]
* Fixed stopping and starting Erlang based services on upgrading the
erlang-base and erlang-base-hipe packages.
Modified: erlang/trunk/debian/changelog
===================================================================
--- erlang/trunk/debian/changelog 2014-06-26 07:20:00 UTC (rev 1643)
+++ erlang/trunk/debian/changelog 2014-07-07 04:24:58 UTC (rev 1644)
@@ -1,8 +1,9 @@
-erlang (1:17.1-dfsg-2) UNRELEASED; urgency=low
+erlang (1:17.1-dfsg-2) unstable; urgency=medium
- * NOT RELEASED YET
+ * Fixed stopping and starting Erlang based services on upgrading the
+ erlang-base and erlang-base-hipe packages.
- -- Sergei Golovan <sgolovan at debian.org> Thu, 26 Jun 2014 11:19:59 +0400
+ -- Sergei Golovan <sgolovan at debian.org> Mon, 07 Jul 2014 08:22:41 +0400
erlang (1:17.1-dfsg-1) unstable; urgency=low
Modified: erlang/trunk/debian/erlang-base-hipe.postinst
===================================================================
--- erlang/trunk/debian/erlang-base-hipe.postinst 2014-06-26 07:20:00 UTC (rev 1643)
+++ erlang/trunk/debian/erlang-base-hipe.postinst 2014-07-07 04:24:58 UTC (rev 1644)
@@ -50,7 +50,9 @@
rl=$(runlevel | awk '{print $2}')
failed=""
for service in $services ; do
- if [ -f /usr/share/file-rc/rc -o -f /usr/lib/file-rc/rc ] && [ -f /etc/runlevel.conf ] ; then
+ if [ -x "`which invoke-rc.d 2>/dev/null`" ]; then
+ idl="invoke-rc.d ${service}"
+ elif [ -f /usr/share/file-rc/rc -o -f /usr/lib/file-rc/rc ] && [ -f /etc/runlevel.conf ] ; then
idl=$(filerc $rl $service)
else
idl=$(ls /etc/rc${rl}.d/S??${service} 2> /dev/null | head -1)
Modified: erlang/trunk/debian/erlang-base-hipe.prerm
===================================================================
--- erlang/trunk/debian/erlang-base-hipe.prerm 2014-06-26 07:20:00 UTC (rev 1643)
+++ erlang/trunk/debian/erlang-base-hipe.prerm 2014-07-07 04:24:58 UTC (rev 1644)
@@ -39,7 +39,9 @@
rl=$(runlevel | awk '{print $2}')
failed=""
for service in $services ; do
- if [ -f /usr/share/file-rc/rc -o -f /usr/lib/file-rc/rc ] && [ -f /etc/runlevel.conf ] ; then
+ if [ -x "`which invoke-rc.d 2>/dev/null`" ]; then
+ idl="invoke-rc.d ${service}"
+ elif [ -f /usr/share/file-rc/rc -o -f /usr/lib/file-rc/rc ] && [ -f /etc/runlevel.conf ] ; then
idl=$(filerc $rl $service)
else
idl=$(ls /etc/rc${rl}.d/S??${service} 2> /dev/null | head -1)
Modified: erlang/trunk/debian/erlang-base.postinst
===================================================================
--- erlang/trunk/debian/erlang-base.postinst 2014-06-26 07:20:00 UTC (rev 1643)
+++ erlang/trunk/debian/erlang-base.postinst 2014-07-07 04:24:58 UTC (rev 1644)
@@ -50,7 +50,9 @@
rl=$(runlevel | awk '{print $2}')
failed=""
for service in $services ; do
- if [ -f /usr/share/file-rc/rc -o -f /usr/lib/file-rc/rc ] && [ -f /etc/runlevel.conf ] ; then
+ if [ -x "`which invoke-rc.d 2>/dev/null`" ]; then
+ idl="invoke-rc.d ${service}"
+ elif [ -f /usr/share/file-rc/rc -o -f /usr/lib/file-rc/rc ] && [ -f /etc/runlevel.conf ] ; then
idl=$(filerc $rl $service)
else
idl=$(ls /etc/rc${rl}.d/S??${service} 2> /dev/null | head -1)
Modified: erlang/trunk/debian/erlang-base.prerm
===================================================================
--- erlang/trunk/debian/erlang-base.prerm 2014-06-26 07:20:00 UTC (rev 1643)
+++ erlang/trunk/debian/erlang-base.prerm 2014-07-07 04:24:58 UTC (rev 1644)
@@ -39,7 +39,9 @@
rl=$(runlevel | awk '{print $2}')
failed=""
for service in $services ; do
- if [ -f /usr/share/file-rc/rc -o -f /usr/lib/file-rc/rc ] && [ -f /etc/runlevel.conf ] ; then
+ if [ -x "`which invoke-rc.d 2>/dev/null`" ]; then
+ idl="invoke-rc.d ${service}"
+ elif [ -f /usr/share/file-rc/rc -o -f /usr/lib/file-rc/rc ] && [ -f /etc/runlevel.conf ] ; then
idl=$(filerc $rl $service)
else
idl=$(ls /etc/rc${rl}.d/S??${service} 2> /dev/null | head -1)
More information about the Pkg-erlang-commits
mailing list