From: Michael Prokop Date: Sun, 10 Jul 2011 13:53:18 +0000 (+0200) Subject: 98-clean-chroot: check existence of aptitude binary via $ROOTCMD. X-Git-Tag: v0.15.1~24 X-Git-Url: https://git.grml.org/?p=grml-live.git;a=commitdiff_plain;h=6d5124d02e3912ac0ca53c0f0af92ef9ebceae23;hp=6d5124d02e3912ac0ca53c0f0af92ef9ebceae23 98-clean-chroot: check existence of aptitude binary via $ROOTCMD. /usr/bin/aptitude might point to /etc/alternatives/aptitude which points to e.g. /usr/bin/aptitude-curses. When testing for precense of /usr/bin/aptitude the test might fail because test(1) dereferences symbolic links. So make sure to check existence of aptitude binary inside $target using $ROOTCMD. ---