diff --git a/script/lib/confirmation.sh b/script/lib/confirmation.sh index e04569c..52e332b 100644 --- a/script/lib/confirmation.sh +++ b/script/lib/confirmation.sh @@ -8,7 +8,7 @@ function confirmation(){ # Consistency check for the OVERWRITEINSTALL and ERASEALL if [ ${ERASEALL} -eq 1 -a ${OVERWRITEINSTALL} -eq 1 ] ; then cat <<- HEREDOC 1>&2 - ***** ERROR : Confliction between ERASEALL and OVERWRITEINATALL ***** + ***** ERROR : Confliction between ERASEALL and OVERWRITEINSTALL ***** ...ERASEALL = ${ERASEALL} ...OVERWRITEINSTALL = ${OVERWRITEINSTALL} ...Check configuration in config.txt diff --git a/script/lib/preinstall.sh b/script/lib/preinstall.sh index 6f9a987..138cf3c 100644 --- a/script/lib/preinstall.sh +++ b/script/lib/preinstall.sh @@ -80,7 +80,7 @@ function pre_install() { # Create a ROOT Logical Volume on VG. if [ -e /dev/mapper/${VGNAME}-${LVROOTNAME} ] ; then # exist - if [ ${OVERWRITEINATALL} -eq 1 ] ; then # exist and overwrite install + if [ ${OVERWRITEINSTALL} -eq 1 ] ; then # exist and overwrite install echo "...Logical volume "${VGNAME}-${LVROOTNAME}" already exists. OK." else # exist and not overwriteinstall cat <<- HEREDOC 1>&2 @@ -98,7 +98,7 @@ function pre_install() { return 1 # with error status fi else # not exsit - if [ ${OVERWRITEINATALL} -eq 1 ] ; then + if [ ${OVERWRITEINSTALL} -eq 1 ] ; then cat <<- HEREDOC 1>&2 ***** ERROR : Logical volume "${VGNAME}-${LVROOTNAME}" doesn't exist while overwrite install. ***** ...Check consistency of config.txt.