Hi,

I've fixed this bug in an NMU in order to keep etch progressing. I've used
the patch supplied by Bill Allombert. The final patch is attached.


Thijs
diff -u sirc-2.211/debian/control sirc-2.211/debian/control
--- sirc-2.211/debian/control
+++ sirc-2.211/debian/control
@@ -1,6 +1,5 @@
 Source: sirc
 Section: net
-Provides: irc
 Priority: optional
 Maintainer: Rudolf Weeber <[EMAIL PROTECTED]>
 Standards-Version: 3.2.1
diff -u sirc-2.211/debian/prerm sirc-2.211/debian/prerm
--- sirc-2.211/debian/prerm
+++ sirc-2.211/debian/prerm
@@ -1,4 +1,5 @@
-#!/bin/sh
+#!/bin/sh -e
 
 update-alternatives --remove irc /usr/bin/sirc
 
+#DEBHELPER#
diff -u sirc-2.211/debian/changelog sirc-2.211/debian/changelog
--- sirc-2.211/debian/changelog
+++ sirc-2.211/debian/changelog
@@ -1,3 +1,13 @@
+sirc (2.211-9.1) unstable; urgency=medium
+
+  * NMU to fix RC bugs; patch provided by Bill Allombert.
+  * postinst/prerm: (closes: #391938)
+   - Add set -e and #DEBHELPER#
+   - Remove call to update-menus that will be handled by debhelper.
+  * control: remove Provides in source section.
+
+ -- Thijs Kinkhorst <[EMAIL PROTECTED]>  Wed, 18 Oct 2006 20:54:37 +0200
+
 sirc (2.211-9) unstable; urgency=low
 
   * Fixed bug in postinst script (closes: #337852)
diff -u sirc-2.211/debian/postinst sirc-2.211/debian/postinst
--- sirc-2.211/debian/postinst
+++ sirc-2.211/debian/postinst
@@ -1,10 +1,6 @@
-#!/bin/sh
+#!/bin/sh -e
 update-alternatives --install /usr/bin/irc irc /usr/bin/sirc 20 \
                     --slave /usr/share/man/man1/irc.1.gz irc.1 /usr/share/man/man1/sirc.1.gz
 
-test -e /usr/bin/update-menus && update-menus
-
-exit 0 # Is required, because if the test in the prev line fails, the script
-# would exit 1, and the isntall would fail
-
+#DEBHELPER#
 

Reply via email to