install stage 1: echo new line at the end of press_any_key and are_you_really_really_sure
parent
4beb8cfa4d
commit
49e67ac001
|
@ -5,11 +5,13 @@ LOGFILE=/tmp/void-usb-install-log
|
|||
function press_any_key {
|
||||
echo "Press any key to continue or Ctrl+c to abort..."
|
||||
read -n1 DISCARD_ME
|
||||
echo ""
|
||||
}
|
||||
|
||||
function are_you_really_really_sure {
|
||||
echo "Enter the following to continue: $1"
|
||||
read -p "> " DISCARD_ME
|
||||
echo ""
|
||||
if [ "$1" = "$DISCARD_ME" ]; then
|
||||
return 0
|
||||
else
|
||||
|
|
Loading…
Reference in New Issue