install stage 1 and 2, backup-fs: print a newline after yesno

master
BodgeMaster 2023-07-14 20:58:05 +02:00
parent c477744a58
commit eeda7c61c0
4 changed files with 6 additions and 1 deletions

View File

@ -26,9 +26,11 @@ function yesno {
read -p "[y/n] " -n1 DISCARD_ME read -p "[y/n] " -n1 DISCARD_ME
case "$DISCARD_ME" in case "$DISCARD_ME" in
y) y)
echo ""
return 0 return 0
;; ;;
n) n)
echo ""
return 1 return 1
;; ;;
*) *)

View File

@ -14,9 +14,11 @@ function yesno {
read -p "[y/n] " -n1 DISCARD_ME read -p "[y/n] " -n1 DISCARD_ME
case "$DISCARD_ME" in case "$DISCARD_ME" in
y) y)
echo ""
return 0 return 0
;; ;;
n) n)
echo ""
return 1 return 1
;; ;;
*) *)

View File

@ -16,7 +16,6 @@ vkpurge old stuff - only keep 2 vkpurgeable kernels
overview of the installation process at the start overview of the installation process at the start
overall progress indication (step x out of y) overall progress indication (step x out of y)
exclude optical drives exclude optical drives
add newline after yesno (also in backup script)
add bash completion along the line somewhere add bash completion along the line somewhere
replace OpenBox with something lighter replace OpenBox with something lighter
allow unprivileged users to mount / unmount disks in GUI sessions allow unprivileged users to mount / unmount disks in GUI sessions

View File

@ -14,9 +14,11 @@ function yesno {
read -p "[y/n] " -n1 DISCARD_ME < $TTY_OR_CONSOLE read -p "[y/n] " -n1 DISCARD_ME < $TTY_OR_CONSOLE
case "$DISCARD_ME" in case "$DISCARD_ME" in
y) y)
echo ""
return 0 return 0
;; ;;
n) n)
echo ""
return 1 return 1
;; ;;
*) *)