Browse Source

migration proposal

master
pvincent 8 months ago
parent
commit
ee9a90075e
  1. 21
      install.sh

21
install.sh

@ -36,11 +36,24 @@ function install_host() {
fi
else
apt-get update
apt-get install -y "${REQUIRED_PKGS[@]}"
./init.sh
echo "--------------------------------"
echo "debian-bash has been deprecated!"
echo "--------------------------------"
read -rn1 -p 'Would you like to migrate to the new project named `miaou-bash`, (yN)?' answer
if [[ "$answer" == 'y' ]];then
pushd /tmp
pushd /opt/debian-bash
./uninstall.sh
popd
rm -rf /opt/debian-bash
curl https://git.artcode.re/miaou/miaou-bash/raw/branch/main/install.sh | sudo bash -s
source /etc/bash.bashrc
exit 0
fi
echo "cancelled!"
exit 1
fi
}
function install_containers() {

Loading…
Cancel
Save