|
@ -41,12 +41,12 @@ function install_host() { |
|
|
echo "--------------------------------" |
|
|
echo "--------------------------------" |
|
|
|
|
|
|
|
|
if [[ -z "$PS1" ]]; then |
|
|
if [[ -z "$PS1" ]]; then |
|
|
read -rn1 -p 'Would you like to migrate to the new project named `miaou-bash`, (yN)?' answer |
|
|
|
|
|
else |
|
|
|
|
|
echo "--------------------------------------------------" |
|
|
echo "--------------------------------------------------" |
|
|
echo "automatic migration from debian-bash to miaou-bash" |
|
|
echo "automatic migration from debian-bash to miaou-bash" |
|
|
echo "--------------------------------------------------" |
|
|
echo "--------------------------------------------------" |
|
|
answer='y' |
|
|
answer='y' |
|
|
|
|
|
else |
|
|
|
|
|
read -rn1 -p 'Would you like to migrate to the new project named `miaou-bash`, (yN)?' answer |
|
|
fi |
|
|
fi |
|
|
|
|
|
|
|
|
if [[ "$answer" == 'y' ]];then |
|
|
if [[ "$answer" == 'y' ]];then |
|
|