On Mon, Oct 09, 2006 at 08:14:19PM +0200, Rudolf Weeber wrote: > Hi Bill, > On Mon, Oct 09, 2006 at 04:33:04PM +0200, Bill Allombert wrote: > > Package: sirc > > Version: 2.211-9 > > Severity: serious > > > > Hello Rudolf, > > > > your postinst script is broken: > > > > I would suggest you let debhelper handle it, since it already handle the > > postrm. > Thanks for the report. > I'll fix the bug after my final exam in two weeks.
I am afraid that might be too late; please find a patch that should fix this bug. You should also remove the file thx.pl which is a 404, and update the Standard version. Cheers, -- Bill. <[EMAIL PROTECTED]> Imagine a large red swirl here.
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=low + + * NMU to fix RC bugs. + * 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. + + -- Bill Allombert <[EMAIL PROTECTED]> Mon, 9 Oct 2006 23:10:50 +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#