r44954 - in /packages/wordnet/trunk/debian: changelog dict-wn.postinst dict-wn.postrm

tille at users.alioth.debian.org tille at users.alioth.debian.org
Mon Jun 4 12:13:26 UTC 2012


Author: tille
Date: Mon Jun  4 12:13:25 2012
New Revision: 44954

URL: http://svn.debian.org/wsvn/debian-science/?sc=1&rev=44954
Log:
Hopefully now finally fixing the init issue; unfortunately the ruby code for golden-dict is now breaking :-(

Modified:
    packages/wordnet/trunk/debian/changelog
    packages/wordnet/trunk/debian/dict-wn.postinst
    packages/wordnet/trunk/debian/dict-wn.postrm

Modified: packages/wordnet/trunk/debian/changelog
URL: http://svn.debian.org/wsvn/debian-science/packages/wordnet/trunk/debian/changelog?rev=44954&op=diff
==============================================================================
--- packages/wordnet/trunk/debian/changelog (original)
+++ packages/wordnet/trunk/debian/changelog Mon Jun  4 12:13:25 2012
@@ -1,3 +1,12 @@
+wordnet (1:3.0-28) UNRELEASED; urgency=low
+
+  * debian/dict-wn.post{inst,rm}: verify start script using
+    "invoke-rc.d --query" first (thanks for the patch to
+    Ryo IGARASHI <rigarash at gmail.com>)
+    Closes: #675534, #673620
+
+ -- Andreas Tille <tille at debian.org>  Mon, 04 Jun 2012 13:27:27 +0200
+
 wordnet (1:3.0-27) unstable; urgency=low
 
   * debian/watch: adapted to changed upstream website layout

Modified: packages/wordnet/trunk/debian/dict-wn.postinst
URL: http://svn.debian.org/wsvn/debian-science/packages/wordnet/trunk/debian/dict-wn.postinst?rev=44954&op=diff
==============================================================================
--- packages/wordnet/trunk/debian/dict-wn.postinst (original)
+++ packages/wordnet/trunk/debian/dict-wn.postinst Mon Jun  4 12:13:25 2012
@@ -9,7 +9,9 @@
 	if [ -x /usr/sbin/dictdconfig ]; then dictdconfig -w ;fi
 
 	if which invoke-rc.d >/dev/null 2>&1; then
-	    invoke-rc.d dictd restart
+            if invoke-rc.d --query dictd restart; [ $? = 104 ]; then
+               invoke-rc.d dictd restart
+            fi
 	else
 	    [ -x /etc/init.d/dictd ] && /etc/init.d/dictd restart
 	fi

Modified: packages/wordnet/trunk/debian/dict-wn.postrm
URL: http://svn.debian.org/wsvn/debian-science/packages/wordnet/trunk/debian/dict-wn.postrm?rev=44954&op=diff
==============================================================================
--- packages/wordnet/trunk/debian/dict-wn.postrm (original)
+++ packages/wordnet/trunk/debian/dict-wn.postrm Mon Jun  4 12:13:25 2012
@@ -7,7 +7,9 @@
 	if [ -x /usr/sbin/dictdconfig ]; then dictdconfig -w ;fi
 
         if which invoke-rc.d >/dev/null 2>&1; then
-	    invoke-rc.d dictd restart
+            if invoke-rc.d --query dictd restart; [ $? = 104 ]; then
+               invoke-rc.d dictd restart
+            fi
 	else
 	    [ -x /etc/init.d/dictd ] && /etc/init.d/dictd restart
 	fi




More information about the debian-science-commits mailing list