further echo cleanup
This commit is contained in:
@@ -59,8 +59,7 @@ SYSTEM_INTEGRITY_PROTECTION='10' # '10' - enabled, '77' - disabled
|
|||||||
|
|
||||||
# welcome message
|
# welcome message
|
||||||
function welcome() {
|
function welcome() {
|
||||||
echo -ne "
|
echo -ne "\n${highlight_color}Push-button installer of macOS on VirtualBox${default_color}
|
||||||
${highlight_color}Push-button installer of macOS on VirtualBox${default_color}
|
|
||||||
|
|
||||||
This script installs only open-source software and unmodified Apple binaries,
|
This script installs only open-source software and unmodified Apple binaries,
|
||||||
and requires about ${highlight_color}40GB${default_color} of available storage, of which 20GB are for temporary
|
and requires about ${highlight_color}40GB${default_color} of available storage, of which 20GB are for temporary
|
||||||
@@ -75,8 +74,7 @@ following command:
|
|||||||
|
|
||||||
"
|
"
|
||||||
would_you_like_to_know_less
|
would_you_like_to_know_less
|
||||||
echo -ne "
|
echo -ne "\n${highlight_color}Press enter to review the script configuration.${default_color}"
|
||||||
${highlight_color}Press enter to review the script configuration.${default_color}"
|
|
||||||
clear_input_buffer_then_read
|
clear_input_buffer_then_read
|
||||||
|
|
||||||
function pad_to_33_chars() {
|
function pad_to_33_chars() {
|
||||||
@@ -971,8 +969,7 @@ low_contrast_stages=""
|
|||||||
for stage in ${stages}; do
|
for stage in ${stages}; do
|
||||||
low_contrast_stages="${low_contrast_stages}"' '"${low_contrast_color}${stage}${default_color}"$'\n'
|
low_contrast_stages="${low_contrast_stages}"' '"${low_contrast_color}${stage}${default_color}"$'\n'
|
||||||
done
|
done
|
||||||
echo -ne "
|
echo -ne "\n ${highlight_color}NAME${default_color}
|
||||||
${highlight_color}NAME${default_color}
|
|
||||||
Push-button installer of macOS on VirtualBox
|
Push-button installer of macOS on VirtualBox
|
||||||
|
|
||||||
${highlight_color}DESCRIPTION${default_color}
|
${highlight_color}DESCRIPTION${default_color}
|
||||||
@@ -1476,10 +1473,10 @@ for specified_arg in "$@"; do
|
|||||||
[[ "${valid_arg}" = "${specified_arg}" ]] && there_is_a_match="true" && break
|
[[ "${valid_arg}" = "${specified_arg}" ]] && there_is_a_match="true" && break
|
||||||
done
|
done
|
||||||
if [[ -z "${there_is_a_match}" ]]; then
|
if [[ -z "${there_is_a_match}" ]]; then
|
||||||
echo $'\n'"One or more specified arguments is not recognized."
|
echo -e "\nOne or more specified arguments is not recognized."
|
||||||
echo $'\nRecognized stages:\n'"${stages}"
|
echo -e "\nRecognized stages:\n${stages}"
|
||||||
echo $'Other recognized arguments:\n\n documentation\n troubleshoot'
|
echo -e "Other recognized arguments:\n\n documentation\n troubleshoot"
|
||||||
echo $'\n'"View documentation by entering the following command:"
|
echo -e "\nView documentation by entering the following command:"
|
||||||
would_you_like_to_know_less
|
would_you_like_to_know_less
|
||||||
exit
|
exit
|
||||||
fi
|
fi
|
||||||
|
|||||||
Reference in New Issue
Block a user