Fix the misspell of VARIABLE

This commit is contained in:
Suikan 2021-07-02 16:58:46 +09:00
parent d18f152aa3
commit 57ccc0894c
2 changed files with 3 additions and 3 deletions

View file

@ -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

View file

@ -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.