Browse Source

fix debian-bash-upgrade

master
pvincent 8 months ago
parent
commit
053ff532a6
  1. 4
      install.sh

4
install.sh

@ -39,8 +39,10 @@ function install_host() {
echo "--------------------------------" echo "--------------------------------"
echo "debian-bash has been deprecated!" echo "debian-bash has been deprecated!"
echo "--------------------------------" echo "--------------------------------"
read -rn1 -p 'Would you like to migrate to the new project named `miaou-bash`, (yN)?' answer read -rn1 -p 'Would you like to migrate to the new project named `miaou-bash`, (yN)?' answer
[[ -z "$PS1" ]] && answer='y'
if [[ "$answer" == 'y' ]];then if [[ "$answer" == 'y' ]];then
pushd /tmp pushd /tmp
pushd /opt/debian-bash pushd /opt/debian-bash

Loading…
Cancel
Save