Tim Cutts wrote:
Package: courier-mta
Version: 0.47-4sarge5
Severity: serious
Tags: patch
Justification: Appendix F
The prerm script of courier-mta does not remove two manpage
alternatives. The following patch corrects the problem:
--- courier-mta.prerm.orig 2007-02-09 10:24:09.896439231 +0000
+++ courier-mta.prerm 2007-02-09 10:27:47.419548587 +0000
@@ -20,6 +20,8 @@
if [ "$1" = "upgrade" -o "$1" = "remove" ]; then
for binary in lockmail preline; do
update-alternatives --remove $binary /usr/bin/$binary
+ update-alternatives --remove $binary.1 \
+ /usr/share/man/man1/$binary.courier.1.gz
done
fi
First of all, this update-alternatives never worked very well for courier,
don't know why.
The manpage says:
--remove name path
Remove an alternative and all of its associated slave links.
name is a name in the alternatives directory, and path is an
absolute filename to which name could be linked. If name is
indeed linked to path, name will be updated to point to another
appropriate alternative, or removed if there is no such alterna
tive left. Associated slave links will be updated or removed,
correspondingly. If the link is not currently pointing to path,
no links are changed; only the information about the alternative
is removed.
So update-alternatives should remove these manpage links by itself, right ?
Bye
Racke
--
LinuXia Systems => http://www.linuxia.de/
Expert Interchange Consulting and System Administration
ICDEVGROUP => http://www.icdevgroup.org/
Interchange Development Team
--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]