Package: dict-misc Version: 1.5A-1 Severity: normal Tags: patch Attached is the NMU diff.
-- 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,5 +1,12 @@
+dict-misc (1.5A-1.1) unstable; urgency=low
+
+ * Non-maintainer upload.
+ * Use invoke-rc.d; closes: #341413, #367734.
+
+ -- Robert S. Edmonds <[EMAIL PROTECTED]> Sun, 02 Sep 2007 01:11:43 -0400
+
dict-misc (1.5A-1) unstable; urgency=low
-
+
* This version is a packaging change, with no user-visible changes.
* This package now Build-Depends on dictfmt, so the dictfmt sources are
@@ -62,7 +69,7 @@
* Changed Architecture from any to all
- -- Bob Hilliard <[EMAIL PROTECTED]> Sat, 20 Mar 1999 20:01:26 -0500A
+ -- Bob Hilliard <[EMAIL PROTECTED]> Sat, 20 Mar 1999 20:01:26 -0500
dict-misc (1.4-1) unstable; urgency=low
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,7 +7,11 @@
case "$1" in
configure)
if [ -x /usr/sbin/dictdconfig ]; then dictdconfig -w ;fi
- if [ -x /etc/init.d/dictd ]; then /etc/init.d/dictd restart; fi
+ if which invoke-rc.d >/dev/null 2>&1; then
+ invoke-rc.d dictd restart
+ else
+ /etc/init.d/dictd restart
+ 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,7 +7,11 @@
case "$1" in
configure)
if [ -x /usr/sbin/dictdconfig ]; then dictdconfig -w ;fi
- if [ -x /etc/init.d/dictd ]; then /etc/init.d/dictd restart; fi
+ if which invoke-rc.d >/dev/null 2>&1; then
+ invoke-rc.d dictd restart
+ else
+ /etc/init.d/dictd restart
+ 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,7 +5,11 @@
case "$1" in
remove|purge)
if [ -x /usr/sbin/dictdconfig ]; then dictdconfig -w ;fi
- if [ -x /etc/init.d/dictd ]; then invoke-rc.d dictd restart;fi
+ if which invoke-rc.d >/dev/null 2>&1; then
+ invoke-rc.d dictd restart
+ else
+ /etc/init.d/dictd restart
+ 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,7 +5,11 @@
case "$1" in
remove|purge)
if [ -x /usr/sbin/dictdconfig ]; then dictdconfig -w ;fi
- if [ -x /etc/init.d/dictd ]; then invoke-rc.d dictd restart;fi
+ if which invoke-rc.d >/dev/null 2>&1; then
+ invoke-rc.d dictd restart
+ else
+ /etc/init.d/dictd restart
+ fi
exit 0
;;
signature.asc
Description: Digital signature

