mirror of
https://github.com/suikan4github/kaiten-yaki.git
synced 2025-12-20 10:31:17 -03:00
Make warning message stronger.
Add comment to the error return
This commit is contained in:
parent
ce949a547a
commit
4f54f0bdbd
5 changed files with 21 additions and 18 deletions
|
|
@ -14,7 +14,7 @@ function confirmation(){
|
|||
|
||||
Installation terminated.
|
||||
HEREDOC
|
||||
return 1
|
||||
return 1 # with error status
|
||||
fi # "-" is found in the volume group name.
|
||||
|
||||
# Sanity check for root volume name
|
||||
|
|
@ -26,7 +26,7 @@ function confirmation(){
|
|||
|
||||
Installation terminated.
|
||||
HEREDOC
|
||||
return 1
|
||||
return 1 # with error status
|
||||
fi # "-" is found in the volume name.
|
||||
|
||||
# Sanity check for swap volume name
|
||||
|
|
@ -38,7 +38,7 @@ function confirmation(){
|
|||
|
||||
Installation terminated.
|
||||
HEREDOC
|
||||
return 1
|
||||
return 1 # with error status
|
||||
fi # "-" is found in the volume name.
|
||||
|
||||
# For surre ask the config.sh is edited
|
||||
|
|
@ -54,7 +54,7 @@ function confirmation(){
|
|||
|
||||
Installation terminated.
|
||||
HEREDOC
|
||||
return 1
|
||||
return 1 # with error status
|
||||
fi # if YES
|
||||
|
||||
# For sure ask ready to erase.
|
||||
|
|
@ -67,7 +67,7 @@ function confirmation(){
|
|||
|
||||
Installation terminated.
|
||||
HEREDOC
|
||||
return 1
|
||||
return 1 # with error status
|
||||
fi # if YES
|
||||
fi # if erase all
|
||||
|
||||
|
|
@ -87,7 +87,7 @@ function confirmation(){
|
|||
|
||||
Installation terminated.
|
||||
HEREDOC
|
||||
return 1
|
||||
return 1 # with error status
|
||||
fi # passphrase validation
|
||||
|
||||
# succesfull return
|
||||
|
|
|
|||
|
|
@ -18,7 +18,7 @@ function parainstall() {
|
|||
|
||||
Installation process terminated.
|
||||
HEREDOC
|
||||
return 1
|
||||
return 1 # with error status
|
||||
fi
|
||||
done # while
|
||||
|
||||
|
|
@ -32,6 +32,7 @@ function parainstall() {
|
|||
|
||||
# And then, wait for the end of installer process
|
||||
echo "...Waiting for the end of GUI/TUI installer."
|
||||
echo "...Again, DO NOT reboot here. Just exit the GUI/TUI installer."
|
||||
wait $INSTALLER_PID
|
||||
|
||||
# succesfull return
|
||||
|
|
|
|||
|
|
@ -54,7 +54,7 @@ function pre_install() {
|
|||
|
||||
Installation terminated.
|
||||
HEREDOC
|
||||
return 1
|
||||
return 1 # with error status
|
||||
fi # if crypt volume is unable to open
|
||||
|
||||
# ----- Configure the LVM in LUKS volume -----
|
||||
|
|
@ -84,7 +84,7 @@ function pre_install() {
|
|||
|
||||
Installation terminated.
|
||||
HEREDOC
|
||||
return 1
|
||||
return 1 # with error status
|
||||
else
|
||||
echo "...Create logical volume \"${LVROOTNAME}\" on \"${VGNAME}\"."
|
||||
lvcreate -l ${LVROOTSIZE} -n ${LVROOTNAME} ${VGNAME}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue