Refactoed common function

These common function is renamed with _common
explicitly.
This commit is contained in:
Suikan 2021-07-03 07:14:46 +09:00
parent ccc7d009f6
commit 54f80d7f80
5 changed files with 28 additions and 29 deletions

View file

@ -3,7 +3,7 @@
# Confirmation and Passphrase setting
# *******************************************************************************
function confirmation(){
function confirmation_common(){
# Consistency check for the OVERWRITEINSTALL and ERASEALL
if [ ${ERASEALL} -eq 1 -a ${OVERWRITEINSTALL} -eq 1 ] ; then

View file

@ -1,6 +1,6 @@
#!/bin/bash -u
function parainstall_msg() {
function para_install_msg_common() {
cat <<- HEREDOC
******************************************************************************

View file

@ -3,7 +3,7 @@
# Pre-install stage
# *******************************************************************************
function pre_install() {
function pre_install_common() {
# ----- Erase entire disk, create partitions, format them and encrypt the LUKS partition -----