From 42cc3111a23ae0d2d61dc587acd1eaf21b3817c1 Mon Sep 17 00:00:00 2001 From: xengineering Date: Sun, 15 Dec 2019 17:00:39 +0100 Subject: Wrote util/confirm_installation.sh. --- stages/first_stage.sh | 17 +---------------- 1 file changed, 1 insertion(+), 16 deletions(-) (limited to 'stages') diff --git a/stages/first_stage.sh b/stages/first_stage.sh index a748db1..c257946 100644 --- a/stages/first_stage.sh +++ b/stages/first_stage.sh @@ -38,22 +38,7 @@ export hostname=$(python $REPOSITORY_PATH/util/read_config_string.py $CONFIG_FIL export desktop=$(python $REPOSITORY_PATH/util/read_config_string.py $CONFIG_FILE_PATH "desktop") -# Confirmation - -echo "All data on disk '$disk' will be finally lost!" -echo "Are you SURE that you want to install Arch Linux to '$disk'?!" -echo "Type 'Yes' for installation and 'No' for abort." -read answer -if [ $answer == "Yes" ]; then - echo "" - echo "Starting installation process - OK" - echo "" -else - echo "" - echo "Abort of installation process!" - exit -fi - +bash confirm_installation.sh $disk bash check_bootmode.sh -- cgit v1.2.3-70-g09d2