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.
------
#!/bin/sh
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
------
1) you must check whether update-alternatives and update-menus
succeeded instead of ignoring the failures
2) you must check if /usr/bin/update-menus is executable (-x), it is not
sufficient to check whether it exists, see menu manual section
"4.2. Adding a hook for dpkg in your packages".
Cheers,
--
Bill. <[EMAIL PROTECTED]>
Imagine a large red swirl here.
--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]