From 95918265bcb1850310859e49e46c683a4e9fdb0a Mon Sep 17 00:00:00 2001 From: Daniel Baumann Date: Mon, 1 Dec 2008 23:49:58 +0100 Subject: Correcting defaults check for diverted losetup binary to also cope with host systems that do install loop-aes-utils after populating live-helper config. --- functions/defaults.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/functions/defaults.sh b/functions/defaults.sh index 0469ca0..2841142 100755 --- a/functions/defaults.sh +++ b/functions/defaults.sh @@ -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). -- cgit v1.0