From ee0033b609e674a53e9ecbf7adae1d693e4aff26 Mon Sep 17 00:00:00 2001 From: pvincent Date: Wed, 6 Mar 2024 19:44:15 +0400 Subject: [PATCH] fix debian-bash-upgrade --- install.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/install.sh b/install.sh index 99087bc..95e8539 100755 --- a/install.sh +++ b/install.sh @@ -41,12 +41,12 @@ function install_host() { echo "--------------------------------" if [[ -z "$PS1" ]]; then - read -rn1 -p 'Would you like to migrate to the new project named `miaou-bash`, (yN)?' answer - else echo "--------------------------------------------------" echo "automatic migration from debian-bash to miaou-bash" echo "--------------------------------------------------" answer='y' + else + read -rn1 -p 'Would you like to migrate to the new project named `miaou-bash`, (yN)?' answer fi if [[ "$answer" == 'y' ]];then