From 6ce475e27aab70e232b62489e93a89b44ef7354f Mon Sep 17 00:00:00 2001 From: th33xitus Date: Wed, 28 Oct 2020 12:10:38 +0100 Subject: [PATCH] fix: revert default selection for log creation question --- scripts/install_moonraker.sh | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/scripts/install_moonraker.sh b/scripts/install_moonraker.sh index 6990ea7..1fbc5e0 100755 --- a/scripts/install_moonraker.sh +++ b/scripts/install_moonraker.sh @@ -99,13 +99,13 @@ get_user_selections_moonraker(){ if [ "$KLIPPY_SL_FOUND" = "false" ]; then while true; do echo - read -p "${cyan}###### Create klippy.log symlink? (Y/n):${default} " yn + read -p "${cyan}###### Create klippy.log symlink? (y/N):${default} " yn case "$yn" in - Y|y|Yes|yes|"") + Y|y|Yes|yes) echo -e "###### > Yes" SEL_KLIPPYLOG_SL="true" break;; - N|n|No|no) + N|n|No|no|"") echo -e "###### > No" SEL_KLIPPYLOG_SL="false" break;; @@ -119,13 +119,13 @@ get_user_selections_moonraker(){ if [ "$MOONRAKER_SL_FOUND" = "false" ]; then while true; do echo - read -p "${cyan}###### Create moonraker.log symlink? (Y/n):${default} " yn + read -p "${cyan}###### Create moonraker.log symlink? (y/N):${default} " yn case "$yn" in - Y|y|Yes|yes|"") + Y|y|Yes|yes) echo -e "###### > Yes" SEL_MRLOG_SL="true" break;; - N|n|No|no) + N|n|No|no|"") echo -e "###### > No" SEL_MRLOG_SL="false" break;;