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 {
|
function press_any_key {
|
||||||
echo "Press any key to continue or Ctrl+c to abort..."
|
echo "Press any key to continue or Ctrl+c to abort..."
|
||||||
read -n1 DISCARD_ME
|
read -n1 DISCARD_ME
|
||||||
|
echo ""
|
||||||
}
|
}
|
||||||
|
|
||||||
function are_you_really_really_sure {
|
function are_you_really_really_sure {
|
||||||
echo "Enter the following to continue: $1"
|
echo "Enter the following to continue: $1"
|
||||||
read -p "> " DISCARD_ME
|
read -p "> " DISCARD_ME
|
||||||
|
echo ""
|
||||||
if [ "$1" = "$DISCARD_ME" ]; then
|
if [ "$1" = "$DISCARD_ME" ]; then
|
||||||
return 0
|
return 0
|
||||||
else
|
else
|
||||||
|
|
Loading…
Reference in New Issue