From: Michael Prokop Date: Sun, 10 Jul 2011 13:36:28 +0000 (+0200) Subject: 98-clean-chroot: check existence of updatedb binary via $ROOTCMD. X-Git-Tag: v0.15.1~25 X-Git-Url: https://git.grml.org/?p=grml-live.git;a=commitdiff_plain;h=4a05b54fec18a572de88ccf028fb1b5a1121ca0c;hp=4a05b54fec18a572de88ccf028fb1b5a1121ca0c 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. ---