mirror of
https://github.com/suikan4github/kaiten-yaki.git
synced 2025-12-20 02:21:17 -03:00
Fix the misspell of VARIABLE
This commit is contained in:
parent
d18f152aa3
commit
57ccc0894c
2 changed files with 3 additions and 3 deletions
|
|
@ -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
|
||||
|
|
|
|||
|
|
@ -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.
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue