Bug#527311: lh_chroot_hacks nukes the man index
Package: live-helper
Version: 1.0.4-1
Tags: patch
lh_chroot_hacks removes the man index, which breaks man -k.
Since lh_chroot_hacks is run after the chroot hooks, this cannot be
fixed by adding a hook that does ``mandb -c''.
I suggest that removing the mandb index should be done in
hooks/stripped, not in lh_chroot_hacks.
Patch attached.
Juliusz
--- lh_chroot_hacks.backup 2009-05-06 18:01:35.000000000 +0200
+++ lh_chroot_hacks 2009-05-06 18:01:57.000000000 +0200
@@ -84,7 +84,6 @@
rm -f chroot/etc/group- chroot/etc/passwd-
rm -f chroot/etc/gshadow- chroot/etc/shadow-
rm -f chroot/var/cache/debconf/*-old
-rm -f chroot/var/cache/man/index.db
rm -f chroot/var/lib/dpkg/*-old
if [ -n "${LH_ROOT_COMMAND}" ]
Reply to: