diff options
author | Daniel Baumann <daniel@debian.org> | 2008-12-01 23:49:58 +0100 |
---|---|---|
committer | Daniel Baumann <daniel@debian.org> | 2011-03-09 19:03:45 +0100 |
commit | 95918265bcb1850310859e49e46c683a4e9fdb0a (patch) | |
tree | 04cbcc3cb2987ee3888ace81fb481c2841ba1b3d /functions/defaults.sh | |
parent | 20395438d2e6ca985499273db45b0e5381c599cc (diff) | |
download | vyos-live-build-95918265bcb1850310859e49e46c683a4e9fdb0a.tar.gz vyos-live-build-95918265bcb1850310859e49e46c683a4e9fdb0a.zip |
Correcting defaults check for diverted losetup binary to also cope with host systems that do install loop-aes-utils after populating live-helper config.
Diffstat (limited to 'functions/defaults.sh')
-rwxr-xr-x | functions/defaults.sh | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/functions/defaults.sh b/functions/defaults.sh index 0469ca04b..284114284 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). |