98-clean-chroot: check existence of updatedb binary via $ROOTCMD.
authorMichael Prokop <mika@grml.org>
Sun, 10 Jul 2011 13:36:28 +0000 (15:36 +0200)
committerMichael Prokop <mika@grml.org>
Sun, 10 Jul 2011 13:36:31 +0000 (15:36 +0200)
commit4a05b54fec18a572de88ccf028fb1b5a1121ca0c
treedacf66c8815e0485b4bbadcb912af0c62c1112bb
parent1d6dbfb96bb05b613b18af989c052488ffdea793
98-clean-chroot: check existence of updatedb binary via $ROOTCMD.

/usr/bin/updatedb might point to /etc/alternatives/updatedb which
points to another updatedb binary. When testing for precense of
/usr/bin/updatedb the test might fail because test(1) dereferences
symbolic links. So make sure to check existence of updatedb
binary inside $target using $ROOTCMD.
etc/grml/fai/config/scripts/GRMLBASE/98-clean-chroot