summaryrefslogtreecommitdiff
path: root/functions
diff options
context:
space:
mode:
Diffstat (limited to 'functions')
-rwxr-xr-xfunctions/defaults.sh11
1 files changed, 7 insertions, 4 deletions
diff --git a/functions/defaults.sh b/functions/defaults.sh
index a2db35d..3a3b423 100755
--- a/functions/defaults.sh
+++ b/functions/defaults.sh
@@ -578,11 +578,14 @@ Set_defaults ()
esac
fi
- if [ -z "${LH_BOOTAPPEND_INSTALL}" ] && [ -n ${_LH_BOOTAPPEND_PRESEED} ]
+ if [ -z "${LH_BOOTAPPEND_INSTALL}" ]
then
- LH_BOOTAPPEND_INSTALL="${_LH_BOOTAPPEND_PRESEED} -- \${LH_BOOTAPPEND_LIVE}"
- else
- LH_BOOTAPPEND_INSTALL=" -- \${LH_BOOTAPPEND_LIVE}"
+ if [ -n ${_LH_BOOTAPPEND_PRESEED} ]
+ then
+ LH_BOOTAPPEND_INSTALL="${_LH_BOOTAPPEND_PRESEED} -- \${LH_BOOTAPPEND_LIVE}"
+ else
+ LH_BOOTAPPEND_INSTALL=" -- \${LH_BOOTAPPEND_LIVE}"
+ fi
fi
# Setting encryption