summaryrefslogtreecommitdiff
path: root/stages
diff options
context:
space:
mode:
authorxengineering <mail2xengineering@protonmail.com>2019-12-15 17:00:39 +0100
committerxengineering <mail2xengineering@protonmail.com>2019-12-15 17:00:39 +0100
commit42cc3111a23ae0d2d61dc587acd1eaf21b3817c1 (patch)
tree39fd0d46f7879187a6f5193fe97d18c748d68c4b /stages
parentb5e454658004691d9cc9c9f7d1dd366c6c6c5444 (diff)
downloadarchinstall-42cc3111a23ae0d2d61dc587acd1eaf21b3817c1.tar
archinstall-42cc3111a23ae0d2d61dc587acd1eaf21b3817c1.tar.zst
archinstall-42cc3111a23ae0d2d61dc587acd1eaf21b3817c1.zip
Wrote util/confirm_installation.sh.
Diffstat (limited to 'stages')
-rw-r--r--stages/first_stage.sh17
1 files changed, 1 insertions, 16 deletions
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