Attached.

-- 
Robert Edmonds
[EMAIL PROTECTED]
diff -u dict-misc-1.5A/debian/changelog dict-misc-1.5A/debian/changelog
--- dict-misc-1.5A/debian/changelog
+++ dict-misc-1.5A/debian/changelog
@@ -1,3 +1,10 @@
+dict-misc (1.5A-1.2) unstable; urgency=low
+
+  * Non-maintainer upload.
+  * /etc/init.d/dictd sanity checks; closes: #441918.
+
+ -- Robert S. Edmonds <[EMAIL PROTECTED]>  Tue, 11 Sep 2007 16:59:36 -0400
+
 dict-misc (1.5A-1.1) unstable; urgency=low
 
   * Non-maintainer upload.
diff -u dict-misc-1.5A/debian/postinst.east dict-misc-1.5A/debian/postinst.east
--- dict-misc-1.5A/debian/postinst.east
+++ dict-misc-1.5A/debian/postinst.east
@@ -7,10 +7,12 @@
 case "$1" in 
      configure)
      if [ -x /usr/sbin/dictdconfig ]; then dictdconfig -w ;fi
-     if which invoke-rc.d >/dev/null 2>&1; then
-          invoke-rc.d dictd restart
-     else
-          /etc/init.d/dictd restart
+     if [ -x /etc/init.d/dictd ]; then
+          if which invoke-rc.d >/dev/null 2>&1; then
+               invoke-rc.d dictd restart
+          else
+               /etc/init.d/dictd restart
+          fi
      fi
 
      exit 0
diff -u dict-misc-1.5A/debian/postinst.hitch dict-misc-1.5A/debian/postinst.hitch
--- dict-misc-1.5A/debian/postinst.hitch
+++ dict-misc-1.5A/debian/postinst.hitch
@@ -7,10 +7,12 @@
 case "$1" in 
      configure)
      if [ -x /usr/sbin/dictdconfig ]; then dictdconfig -w ;fi
-     if which invoke-rc.d >/dev/null 2>&1; then
-          invoke-rc.d dictd restart
-     else
-          /etc/init.d/dictd restart
+     if [ -x /etc/init.d/dictd ]; then
+          if which invoke-rc.d >/dev/null 2>&1; then
+               invoke-rc.d dictd restart
+          else
+               /etc/init.d/dictd restart
+          fi
      fi
 
      exit 0
diff -u dict-misc-1.5A/debian/postrm.east dict-misc-1.5A/debian/postrm.east
--- dict-misc-1.5A/debian/postrm.east
+++ dict-misc-1.5A/debian/postrm.east
@@ -5,10 +5,12 @@
 case "$1" in 
     remove|purge)
      if [ -x /usr/sbin/dictdconfig ]; then dictdconfig -w ;fi
-     if which invoke-rc.d >/dev/null 2>&1; then
-          invoke-rc.d dictd restart
-     else
-          /etc/init.d/dictd restart
+     if [ -x /etc/init.d/dictd ]; then
+          if which invoke-rc.d >/dev/null 2>&1; then
+               invoke-rc.d dictd restart
+          else
+               /etc/init.d/dictd restart
+          fi
      fi
 
      exit 0
diff -u dict-misc-1.5A/debian/postrm.hitch dict-misc-1.5A/debian/postrm.hitch
--- dict-misc-1.5A/debian/postrm.hitch
+++ dict-misc-1.5A/debian/postrm.hitch
@@ -5,10 +5,12 @@
 case "$1" in 
     remove|purge)
      if [ -x /usr/sbin/dictdconfig ]; then dictdconfig -w ;fi
-     if which invoke-rc.d >/dev/null 2>&1; then
-          invoke-rc.d dictd restart
-     else
-          /etc/init.d/dictd restart
+     if [ -x /etc/init.d/dictd ]; then
+          if which invoke-rc.d >/dev/null 2>&1; then
+               invoke-rc.d dictd restart
+          else
+               /etc/init.d/dictd restart
+          fi
      fi
 
      exit 0

Attachment: signature.asc
Description: Digital signature



Reply via email to