Correcting defaults check for diverted losetup binary to also cope with host systems that do install loop-aes-utils after populating live-helper config.

This commit is contained in:
Daniel Baumann 2008-12-01 23:49:58 +01:00
parent 20395438d2
commit 95918265bc
1 changed files with 1 additions and 1 deletions

View File

@ -162,7 +162,7 @@ Set_defaults ()
fi
# Setting losetup
if [ -z "${LH_LOSETUP}" ] || [ ! -x /sbin/${LH_LOSETUP} ]
if [ -z "${LH_LOSETUP}" ] || [ "${LH_LOSETUP}" != "/sbin/losetup.orig" ]
then
# Workaround for loop-aes-utils divertion
# (loop-aes-utils' losetup lacks features).